refactor(flow): add options to useElementsState
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -125,7 +125,7 @@ export interface FlowProps<N = any, E = N> {
|
||||
export type FlowOptions<N = any, E = N> = FlowProps<N, E>
|
||||
|
||||
type UseStateOptions = {
|
||||
applyDefault?: boolean
|
||||
options?: FlowOptions
|
||||
}
|
||||
export interface UseNodesStateOptions extends UseStateOptions {
|
||||
nodes?: Node[]
|
||||
|
||||
Reference in New Issue
Block a user