mirror of
https://github.com/ascribe/onion.git
synced 2024-11-16 01:55:07 +01:00
22 lines
382 B
JavaScript
22 lines
382 B
JavaScript
import React from 'react';
|
|
|
|
|
|
let TableItemText = React.createClass({
|
|
propTypes: {
|
|
content: React.PropTypes.oneOfType([
|
|
React.PropTypes.string,
|
|
React.PropTypes.number
|
|
])
|
|
},
|
|
|
|
render() {
|
|
return (
|
|
<span>
|
|
{this.props.content}
|
|
</span>
|
|
);
|
|
}
|
|
});
|
|
|
|
export default TableItemText;
|