Skip to main content

Note Example

ref: https://codepen.io/zastrow/pen/oDBki

useNote(state => {
if (state.inputs) {
ref.current.active = true
setTimeout(() => {
ref.current.active = false
}, 2000)
}
if (state.outputs) {
state.send(ref.current.props.note)
}
})