1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 18:13:49 +01:00
onion/js/components/ascribe_table/table_item_checkbox.js

23 lines
443 B
JavaScript
Raw Normal View History

'use strict';
2015-06-01 14:10:11 +02:00
import React from 'react';
let TableItemCheckbox = React.createClass({
propTypes: {
editionId: React.PropTypes.number,
pieceId: React.PropTypes.number,
selected: React.PropTypes.bool
},
render() {
return (
2015-06-12 13:36:55 +02:00
<span>
2015-07-08 17:35:30 +02:00
<input type="checkbox" checked={this.props.selected} readOnly/>
2015-06-12 13:36:55 +02:00
</span>
2015-06-01 14:10:11 +02:00
);
}
});
export default TableItemCheckbox;