Update registry/components/FooterBaseCard.json

This commit is contained in:
2026-03-06 07:48:33 +00:00
parent dd0bdeef21
commit 2d0700eebe

View File

@@ -6,14 +6,14 @@
"textRules": {
"copyrightText": {
"required": false,
"example": "© 2025 | Webild",
"example": "© 2025 | ShopHub ",
"minChars": 5,
"maxChars": 100,
"note": "Copyright text displayed at bottom left"
},
"logoText": {
"required": false,
"example": "Webild",
"example": "ShopHub ",
"minChars": 2,
"maxChars": 30,
"note": "Text used for h2 heading"
@@ -34,9 +34,9 @@
}
},
"propsSchema": {
"logoText?": "string (default: 'Webild')",
"logoText?": "string (default: 'ShopHub ')",
"columns": "Array<{ title: string, items: Array<{ label: string, href: string }> }> - Footer navigation columns (required)",
"copyrightText?": "string (default: '© 2025 | Webild')",
"copyrightText?": "string (default: '© 2025 | ShopHub ')",
"onPrivacyClick?": "() => void",
"ariaLabel?": "string (default: 'Site footer')",
"className?": "string",
@@ -51,7 +51,7 @@
"copyrightTextClassName?": "string",
"privacyButtonClassName?": "string"
},
"usageExample": "<FooterBaseCard columns={[{ title: 'Product', items: [{ label: 'Features', href: '/features' }, { label: 'Pricing', href: '/pricing' }] }, { title: 'Company', items: [{ label: 'About', href: '/about' }, { label: 'Blog', href: '/blog' }] }]} logoText=\"Webild\" copyrightText=\"© 2025 | Webild\" onPrivacyClick={() => console.log('Privacy clicked')} />",
"usageExample": "<FooterBaseCard columns={[{ title: 'Product', items: [{ label: 'Features', href: '/features' }, { label: 'Pricing', href: '/pricing' }] }, { title: 'Company', items: [{ label: 'About', href: '/about' }, { label: 'Blog', href: '/blog' }] }]} logoText=\"ShopHub \" copyrightText=\"© 2025 | ShopHub \" onPrivacyClick={() => console.log('Privacy clicked')} />",
"do": [
"Use for general use",
"Requires columns[]"