fix: default value for label
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -39,7 +39,7 @@ const props = withDefaults(defineProps<SmoothStepEdgeProps>(), {
|
|||||||
selected: false,
|
selected: false,
|
||||||
sourcePosition: Position.Bottom,
|
sourcePosition: Position.Bottom,
|
||||||
targetPosition: Position.Top,
|
targetPosition: Position.Top,
|
||||||
label: () => '',
|
label: '',
|
||||||
labelStyle: () => ({}),
|
labelStyle: () => ({}),
|
||||||
labelShowBg: true,
|
labelShowBg: true,
|
||||||
labelBgStyle: () => ({}),
|
labelBgStyle: () => ({}),
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ const props = withDefaults(defineProps<StepEdgeProps>(), {
|
|||||||
selected: false,
|
selected: false,
|
||||||
sourcePosition: Position.Bottom,
|
sourcePosition: Position.Bottom,
|
||||||
targetPosition: Position.Top,
|
targetPosition: Position.Top,
|
||||||
label: () => '',
|
label: '',
|
||||||
labelStyle: () => ({}),
|
labelStyle: () => ({}),
|
||||||
labelShowBg: true,
|
labelShowBg: true,
|
||||||
labelBgStyle: () => ({}),
|
labelBgStyle: () => ({}),
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ const props = withDefaults(defineProps<StraightEdgeProps>(), {
|
|||||||
selected: false,
|
selected: false,
|
||||||
sourcePosition: Position.Bottom,
|
sourcePosition: Position.Bottom,
|
||||||
targetPosition: Position.Top,
|
targetPosition: Position.Top,
|
||||||
label: () => '',
|
label: '',
|
||||||
labelStyle: () => ({}),
|
labelStyle: () => ({}),
|
||||||
labelShowBg: true,
|
labelShowBg: true,
|
||||||
labelBgStyle: () => ({}),
|
labelBgStyle: () => ({}),
|
||||||
|
|||||||
Reference in New Issue
Block a user