update(flow): deprecate modelValue prop
Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -82,6 +82,7 @@ export type FlowInstance<N = any, E = N> = {
|
|||||||
} & UseZoomPanHelper
|
} & UseZoomPanHelper
|
||||||
|
|
||||||
export interface FlowProps<N = any, E = N> {
|
export interface FlowProps<N = any, E = N> {
|
||||||
|
/** @deprecated use nodes / edges instead */
|
||||||
modelValue?: Elements<N, E>
|
modelValue?: Elements<N, E>
|
||||||
nodes?: Node<N>[]
|
nodes?: Node<N>[]
|
||||||
edges?: Edge<E>[]
|
edges?: Edge<E>[]
|
||||||
|
|||||||
Reference in New Issue
Block a user