0.1.13 • Published 5 years ago
editure-react v0.1.13
Editure for React
The React component for Editure.
Using the Component
A quick demo:
import Editure from 'editure-react';
class MyComponent extends React.Component {
constructor(props) {
super(props);
this.state = { value: [] };
}
handleChange = value => {
this.setState({ value });
};
render() {
return <Editure value={this.state.value} onChange={this.handleChange} />;
}
}
Or, if you prefer Hooks:
import Editure from 'editure-react';
function MyComponent() {
const [value, setValue] = useState([]);
return <Editure value={value} onChange={setValue} />;
}
0.1.13
5 years ago
0.1.11
5 years ago
0.1.12
5 years ago
0.1.10
5 years ago
0.1.9
5 years ago
0.1.8
5 years ago
0.1.7
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.0
5 years ago
0.1.1
5 years ago
0.0.15
5 years ago
0.0.14
5 years ago
0.0.13
5 years ago
0.0.12
5 years ago
0.0.11
5 years ago
0.0.9
5 years ago
0.0.8
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago