Update registry/components/FooterBaseCard.json

This commit is contained in:
2026-02-24 04:45:57 +00:00
parent 9d2d707c61
commit cbb24603f6

View File

@@ -5,14 +5,14 @@
"textRules": {
"copyrightText": {
"required": false,
"example": "© 2025 | Webild",
"example": "© 2025 | North Star Marketing Lab ",
"minChars": 5,
"maxChars": 100,
"note": "Copyright text displayed at bottom left"
},
"logoText": {
"required": false,
"example": "Webild",
"example": "North Star Marketing Lab ",
"minChars": 2,
"maxChars": 30,
"note": "Text used for h2 heading"
@@ -33,14 +33,14 @@
}
},
"propsSchema": {
"logoText?": "string (default: 'Webild')",
"logoText?": "string (default: 'North Star Marketing Lab ')",
"columns": "Array<{ title: string, items: Array<{ label: string, href: string }> }> - Footer navigation columns",
"copyrightText?": "string (default: '© 2025 | Webild')",
"copyrightText?": "string (default: '© 2025 | North Star Marketing Lab ')",
"onPrivacyClick?": "() => void",
"ariaLabel?": "string (default: 'Site footer')",
"className?": "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=\"North Star Marketing Lab \" copyrightText=\"© 2025 | North Star Marketing Lab \" onPrivacyClick={() => console.log('Privacy clicked')} />",
"do": [
"Use for general use",
"Requires columns[]"