Props fix

The intial value is not being rendered. Display Flex must be selected.
This commit is contained in:
Joe 2020-06-01 11:11:06 +01:00
parent db35bc53ae
commit 8847de2264
1 changed files with 6 additions and 5 deletions

View File

@ -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" },