update(flow): deprecate modelValue prop

Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
bcakmakoglu
2022-03-08 12:08:25 +01:00
parent 6746d6bb46
commit ac6f62f0a3

View File

@@ -82,6 +82,7 @@ export type FlowInstance<N = any, E = N> = {
} & UseZoomPanHelper
export interface FlowProps<N = any, E = N> {
/** @deprecated use nodes / edges instead */
modelValue?: Elements<N, E>
nodes?: Node<N>[]
edges?: Edge<E>[]