mirror of
https://github.com/ascribe/onion.git
synced 2025-01-10 21:18:38 +01:00
20 lines
444 B
JavaScript
20 lines
444 B
JavaScript
|
import React from 'react';
|
||
|
|
||
|
let TableItemSubtableButton = React.createClass({
|
||
|
|
||
|
propTypes: {
|
||
|
content: React.PropTypes.string.isRequired
|
||
|
},
|
||
|
|
||
|
render() {
|
||
|
return (
|
||
|
<span>
|
||
|
<button type="button" className="btn btn-ascribe btn-primary btn-sm">
|
||
|
{this.props.content}
|
||
|
</button>
|
||
|
</span>
|
||
|
);
|
||
|
}
|
||
|
});
|
||
|
|
||
|
export default TableItemSubtableButton;
|