mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 09:35:10 +01:00
24 lines
397 B
JavaScript
24 lines
397 B
JavaScript
'use strict';
|
|
|
|
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;
|