import React from 'react'; let TableItemText = React.createClass({ propTypes: { content: React.PropTypes.oneOfType([ React.PropTypes.string, React.PropTypes.number ]) }, render() { return ( {this.props.content} ); } }); export default TableItemText;