mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 09:35:10 +01:00
23 lines
443 B
JavaScript
23 lines
443 B
JavaScript
'use strict';
|
|
|
|
import React from 'react';
|
|
|
|
|
|
let TableItemCheckbox = React.createClass({
|
|
propTypes: {
|
|
editionId: React.PropTypes.number,
|
|
pieceId: React.PropTypes.number,
|
|
selected: React.PropTypes.bool
|
|
},
|
|
|
|
render() {
|
|
return (
|
|
<span>
|
|
<input type="checkbox" checked={this.props.selected} readOnly/>
|
|
</span>
|
|
);
|
|
}
|
|
});
|
|
|
|
export default TableItemCheckbox;
|