add skeleton resolvers
This commit is contained in:
@@ -16,10 +16,11 @@ export const navigationEditor: ComponentConfig<NavigationProps> = {
|
||||
{ label: "About", href: "/about" },
|
||||
],
|
||||
showSearch: "yes",
|
||||
showAccount: "yes",
|
||||
showCart: "yes",
|
||||
sticky: "yes",
|
||||
tone: "default",
|
||||
bannerText: "",
|
||||
bannerTone: "accent",
|
||||
},
|
||||
fields: {
|
||||
brand: { label: "Brand", type: "text", contentEditable: true },
|
||||
@@ -33,16 +34,22 @@ export const navigationEditor: ComponentConfig<NavigationProps> = {
|
||||
href: { label: "Link", type: "text" },
|
||||
},
|
||||
},
|
||||
showSearch: {
|
||||
label: "Search icon",
|
||||
type: "radio",
|
||||
bannerText: {
|
||||
label: "Banner text",
|
||||
type: "text",
|
||||
contentEditable: true,
|
||||
},
|
||||
bannerTone: {
|
||||
label: "Banner tone",
|
||||
type: "select",
|
||||
options: [
|
||||
{ label: "Show", value: "yes" },
|
||||
{ label: "Hide", value: "no" },
|
||||
{ label: "Default", value: "default" },
|
||||
{ label: "Accent", value: "accent" },
|
||||
{ label: "Inverse (dark)", value: "inverse" },
|
||||
],
|
||||
},
|
||||
showAccount: {
|
||||
label: "Account icon",
|
||||
showSearch: {
|
||||
label: "Search icon",
|
||||
type: "radio",
|
||||
options: [
|
||||
{ label: "Show", value: "yes" },
|
||||
|
||||
Reference in New Issue
Block a user