Switch to version 1: modified registry/components/NavbarStyleCentered.json

This commit is contained in:
2026-03-05 18:43:56 +00:00
parent 1612fa9d8a
commit 30169fd8e2

View File

@@ -10,7 +10,7 @@
"required": false,
"minChars": 2,
"maxChars": 20,
"example": "Webild",
"example": "Contact Us ",
"fallbackBehavior": "Shows brandName text"
},
"buttonRules": {
@@ -53,7 +53,7 @@
"propsSchema": {
"navItems": "Array<{name: string, id: string}>",
"button": "{text: string, onClick?: () => void, href?: string}",
"brandName?": "string (default: 'Webild')",
"brandName?": "string (default: 'Contact Us ')",
"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'}} />",