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 H1 extends React.Component { constructor() { super(); } render() { return ( <h1>{this.props.title}</h1> ) } }; H1.PropTypes = { title: React.PropTypes.string.isRequired };