Props fix
The intial value is not being rendered. Display Flex must be selected.
This commit is contained in:
parent
db35bc53ae
commit
8847de2264
|
@ -11,8 +11,9 @@ export const layout = [
|
||||||
label: "Display",
|
label: "Display",
|
||||||
key: "display",
|
key: "display",
|
||||||
control: OptionSelect,
|
control: OptionSelect,
|
||||||
initialValue: "Flex",
|
initialValue: "Select Option",
|
||||||
options: [
|
options: [
|
||||||
|
{ label: "Select Option", value: "" },
|
||||||
{ label: "Flex", value: "flex" },
|
{ label: "Flex", value: "flex" },
|
||||||
{ label: "Inline Flex", value: "inline-flex" },
|
{ label: "Inline Flex", value: "inline-flex" },
|
||||||
],
|
],
|
||||||
|
@ -60,10 +61,10 @@ export const layout = [
|
||||||
label: "Wrap",
|
label: "Wrap",
|
||||||
key: "flex-wrap",
|
key: "flex-wrap",
|
||||||
control: OptionSelect,
|
control: OptionSelect,
|
||||||
initialValue: "Wrap",
|
initialValue: "NoWrap",
|
||||||
options: [
|
options: [
|
||||||
{ label: "Wrap", value: "wrap" },
|
|
||||||
{ label: "No Wrap", value: "nowrap" },
|
{ label: "No Wrap", value: "nowrap" },
|
||||||
|
{ label: "Wrap", value: "wrap" },
|
||||||
{ label: "Wrap Reverse", value: "wrap-reverse" },
|
{ label: "Wrap Reverse", value: "wrap-reverse" },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
@ -195,10 +196,10 @@ export const typography = [
|
||||||
label: "Decoration",
|
label: "Decoration",
|
||||||
key: "text-decoration-line",
|
key: "text-decoration-line",
|
||||||
control: OptionSelect,
|
control: OptionSelect,
|
||||||
defaultValue: "Underline",
|
defaultValue: "None",
|
||||||
options: [
|
options: [
|
||||||
{ label: "Underline", value: "underline" },
|
|
||||||
{ label: "None", value: "none" },
|
{ label: "None", value: "none" },
|
||||||
|
{ label: "Underline", value: "underline" },
|
||||||
{ label: "Overline", value: "overline" },
|
{ label: "Overline", value: "overline" },
|
||||||
{ label: "Line-through", value: "line-through" },
|
{ label: "Line-through", value: "line-through" },
|
||||||
{ label: "Under Over", value: "underline overline" },
|
{ label: "Under Over", value: "underline overline" },
|
||||||
|
|
Loading…
Reference in New Issue