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",
key: "display",
control: OptionSelect,
initialValue: "Flex",
initialValue: "Select Option",
options: [
{ label: "Select Option", value: "" },
{ label: "Flex", value: "flex" },
{ label: "Inline Flex", value: "inline-flex" },
],
@ -60,10 +61,10 @@ export const layout = [
label: "Wrap",
key: "flex-wrap",
control: OptionSelect,
initialValue: "Wrap",
initialValue: "NoWrap",
options: [
{ label: "Wrap", value: "wrap" },
{ label: "No Wrap", value: "nowrap" },
{ label: "Wrap", value: "wrap" },
{ label: "Wrap Reverse", value: "wrap-reverse" },
],
},
@ -195,10 +196,10 @@ export const typography = [
label: "Decoration",
key: "text-decoration-line",
control: OptionSelect,
defaultValue: "Underline",
defaultValue: "None",
options: [
{ label: "Underline", value: "underline" },
{ label: "None", value: "none" },
{ label: "Underline", value: "underline" },
{ label: "Overline", value: "overline" },
{ label: "Line-through", value: "line-through" },
{ label: "Under Over", value: "underline overline" },