1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-30 21:52:08 +02:00
onion/js/components/ascribe_table/table_item_text.js

19 lines
305 B
JavaScript
Raw Normal View History

2015-05-20 15:22:29 +02:00
import React from 'react';
2015-05-20 16:44:45 +02:00
2015-05-20 15:22:29 +02:00
let TableItemText = React.createClass({
propTypes: {
content: React.PropTypes.string.isRequired
2015-05-20 15:22:29 +02:00
},
render() {
return (
<span>
{this.props.content}
2015-05-20 15:22:29 +02:00
</span>
);
}
});
2015-05-20 16:44:45 +02:00
export default TableItemText;