Format and lint

This commit is contained in:
Joe 2020-05-27 14:28:05 +01:00
parent 5b45551304
commit 06fc8c1f04
1 changed files with 22 additions and 24 deletions

View File

@ -16,7 +16,7 @@ export const layout = [
options: [ options: [
{ label: "Select Option", value: "Na" }, { label: "Select Option", value: "Na" },
{ label: "Flex", value: "flex" }, { label: "Flex", value: "flex" },
{ label: "Inline Flex", value: "inline-flex" } { label: "Inline Flex", value: "inline-flex" },
], ],
}, },
{ {
@ -32,32 +32,34 @@ export const layout = [
{ label: "Column Reverse", value: "columnReverse" }, { label: "Column Reverse", value: "columnReverse" },
], ],
}, },
{ label: "Justify", {
key: "justify-content", label: "Justify",
key: "justify-content",
control: OptionSelect, control: OptionSelect,
initialValue: "Select Option", initialValue: "Select Option",
options: [ options: [
{ label: "Select Option", value: "Na" }, { label: "Select Option", value: "Na" },
{ label: "Flex Start", value: "flex-start" }, { label: "Flex Start", value: "flex-start" },
{ label: "Flex End", value: "flex-end" }, { label: "Flex End", value: "flex-end" },
{ label: "Center", value: "center" }, { label: "Center", value: "center" },
{ label: "Space Between", value: "space-between" }, { label: "Space Between", value: "space-between" },
{ label: "Space Around", value: "space-around" }, { label: "Space Around", value: "space-around" },
{ label: "Space Evenly", value: "space-evenly" }, { label: "Space Evenly", value: "space-evenly" },
], ],
}, },
{ label: "Align", {
key: "align-items", label: "Align",
key: "align-items",
control: OptionSelect, control: OptionSelect,
initialValue: "Select Option", initialValue: "Select Option",
options: [ options: [
{ label: "Select Option", value: "Na" }, { label: "Select Option", value: "Na" },
{ label: "Flex Start", value: "flex-start" }, { label: "Flex Start", value: "flex-start" },
{ label: "Flex End", value: "flex-end" }, { label: "Flex End", value: "flex-end" },
{ label: "Center", value: "center" }, { label: "Center", value: "center" },
{ label: "Baseline", value: "baseline" }, { label: "Baseline", value: "baseline" },
{ label: "Stretch", value: "stretch" }, { label: "Stretch", value: "stretch" },
], ],
}, },
{ {
label: "Wrap", label: "Wrap",
@ -66,9 +68,9 @@ export const layout = [
initialValue: "Wrap", initialValue: "Wrap",
options: [ options: [
{ label: "Select Option", value: "Na" }, { label: "Select Option", value: "Na" },
{ label: "Wrap", value: "wrap" }, { label: "Wrap", value: "wrap" },
{ label: "No Wrap", value: "nowrap" }, { label: "No Wrap", value: "nowrap" },
{ label: "Wrap Reverse", value: "wrap-reverse" } { label: "Wrap Reverse", value: "wrap-reverse" },
], ],
}, },
] ]
@ -80,11 +82,7 @@ const spacingMeta = [
{ placeholder: "T" }, { placeholder: "T" },
] ]
export const spacing = [ export const spacing = [
{ label: "Margin", { label: "Margin", key: "margin", control: InputGroup, meta: spacingMeta },
key: "margin",
control: InputGroup,
meta: spacingMeta
},
{ {
label: "Padding", label: "Padding",
key: "padding", key: "padding",