mirror of
https://github.com/bobwen-dev/react-templates
synced 2025-04-12 00:56:39 +02:00
sample fix
This commit is contained in:
parent
de9c1b090c
commit
898edf585b
@ -1,9 +1,8 @@
|
|||||||
{
|
{
|
||||||
mixins: [React.addons.LinkedStateMixin],
|
|
||||||
getInitialState: function () {
|
getInitialState: function () {
|
||||||
return {open:false};
|
return {open: false};
|
||||||
},
|
},
|
||||||
toggle: function() {
|
toggle: function() {
|
||||||
this.setState({open:!this.state.open});
|
this.setState({open: !this.state.open});
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user