1
0
mirror of https://github.com/bobwen-dev/react-templates synced 2025-04-12 00:56:39 +02:00
2014-12-07 15:13:35 +02:00

9 lines
253 B
Plaintext

{
mixins: [React.addons.LinkedStateMixin],
getProps: function() {
return _.omit(this.props, ['onClick', 'eventId']);
},
reportClick: function(child) {
alert((this.props.eventId || -1) + ':' + child.innerText);
}
}