Update registry/components/NavbarStyleCentered.json

This commit is contained in:
2026-03-04 19:07:52 +00:00
parent 538416f72f
commit 08110ef312

View File

@@ -10,7 +10,7 @@
"required": false,
"minChars": 2,
"maxChars": 20,
"example": "ASTROSEC",
"example": "AstroSec",
"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: 'ASTROSEC')",
"brandName?": "string (default: 'AstroSec')",
"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'}} />",