refactor(flow): add options to useElementsState

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-12-20 19:29:52 +01:00
parent d2ac41e4f7
commit 4c7cf39e7b
2 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -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[]