Update registry/components/NavbarStyleCentered.json
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
"required": false,
|
"required": false,
|
||||||
"minChars": 2,
|
"minChars": 2,
|
||||||
"maxChars": 20,
|
"maxChars": 20,
|
||||||
"example": "Webild",
|
"example": "Proofweb",
|
||||||
"fallbackBehavior": "Shows brandName text"
|
"fallbackBehavior": "Shows brandName text"
|
||||||
},
|
},
|
||||||
"buttonRules": {
|
"buttonRules": {
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
"propsSchema": {
|
"propsSchema": {
|
||||||
"navItems": "Array<{name: string, id: string}>",
|
"navItems": "Array<{name: string, id: string}>",
|
||||||
"button": "{text: string, onClick?: () => void, href?: string}",
|
"button": "{text: string, onClick?: () => void, href?: string}",
|
||||||
"brandName?": "string (default: 'Webild')",
|
"brandName?": "string (default: 'Proofweb')",
|
||||||
"className?": "string (default: '')"
|
"className?": "string (default: '')"
|
||||||
},
|
},
|
||||||
"usageExample": "<NavbarStyleCentered navItems={[{name: 'Home', id: 'home'}, {name: 'About', id: 'about'}, {name: 'Services', id: 'services'}, {name: 'Blog', id: 'blog'}, {name: 'Contact', id: 'contact'}]} button={{text: 'Get Started', href: 'contact'}} />",
|
"usageExample": "<NavbarStyleCentered navItems={[{name: 'Home', id: 'home'}, {name: 'About', id: 'about'}, {name: 'Services', id: 'services'}, {name: 'Blog', id: 'blog'}, {name: 'Contact', id: 'contact'}]} button={{text: 'Get Started', href: 'contact'}} />",
|
||||||
|
|||||||
Reference in New Issue
Block a user