Skip to main content
Modular Documentation
Guides
Reference
Reference
/
@modular/sdk/editor
Dispatch
type
A function that can be used to update the state of a useState or useReducer hook.
type Dispatch<A> = (value: A) => void
Import
import { Dispatch } from '@modular/sdk/editor';