UNPKG

react-cauldron

Version:

We have a library of components to display that you can expand on. We provide basic props and you can add in any extra props you wish.

18 lines (14 loc) 294 B
import React, { PropTypes } from 'react'; export default class H2 extends React.Component { constructor() { super(); } render() { return ( <h2>{this.props.title}</h2> ) } }; H2.PropTypes = { title: React.PropTypes.string.isRequired };