Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
onClick={e => {
trigger(this, "showLightbox",
)
}}
type="button" className="outline">More...
close() {
if (!this.canClose()) { return }
trigger(this, "lightboxClosed")
if (this.props.onClose) {
this.props.onClose(this)
}
}
pickMidi={() => {
trigger(this, "pickMidi")
}} />
}
openStatsLightbox() {
trigger(this, "showLightbox",
this.setState({stats: new NoteStats()})}
stats={this.state.stats} />)
}
savePreset(e) {
e.preventDefault()
trigger(this, "saveGeneratorPreset", this.refs.presetForm)
}
this.setMinChordSpacing = (value) => trigger(this, "setMinChordSpacing", value)
this.setAutochordsRate = (value) => trigger(this, "setAutochordsRate", value)
this.setAutochordsRate = (value) => trigger(this, "setAutochordsRate", value)
}
pickMidi={() => {
trigger(this, "pickMidi")
}} />
onClick={(e) => trigger(this, "setAutochords", idx)}
className={classNames("toggle_option", {