1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01:00
onion/js/components/ascribe_table/table_item_checkbox.js
2015-07-08 17:35:30 +02:00

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;