Skip to content

Type alias: SetState ​

Ƭ SetState: (state: Partial<FlowOptions & Omit<State, "nodes" | "edges" | "modelValue">> | (state: State) => Partial<FlowOptions & Omit<State, "nodes" | "edges" | "modelValue">>) => void

Type declaration ​

â–¸ (state): void

Parameters ​
NameType
statePartial<FlowOptions & Omit<State, "nodes" | "edges" | "modelValue">> | (state: State) => Partial<FlowOptions & Omit<State, "nodes" | "edges" | "modelValue">>
Returns ​

void

Released under the MIT License.