this.setState({ background: color })}
onThemeChange={theme => this.setState({ theme: theme.id })}
onLanguageChange={language => this.setState({ language: language.module })}
onSettingsChange={(key, value) => this.setState({ [key]: value })}
bg={this.state.background}
enabled={this.state}
/>
this.setState({ droppedContent })}
>
{this.state.droppedContent || this.props.content || DEFAULT_CODE}
)
}
}
export default DragDropContext(HTML5Backend)(Editor)