You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
338 B

class App extends React.Component {
constructor(props) {
super(props);
7 years ago
// highlight-range{2}
this.state = {
7 years ago
value: {something: 'something'},
};
}
render() {
// highlight-range{2}
return (
<MyContext.Provider value={this.state.value}>
<Toolbar />
</MyContext.Provider>
7 years ago
);
}
}