Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(props) {
super(props);
this.state = {
input: defaultCommand,
output: Composerize(defaultCommand),
};
this.onInputChange = this.onInputChange.bind(this);
}
onInputChange(value) {
this.setState({
input: value,
output: Composerize(value)
});
}