claritykit-svelte
Version:
A comprehensive Svelte component library focused on accessibility, ADHD-optimized design, developer experience, and full SSR compatibility
29 lines • 915 B
TypeScript
type $$ComponentProps = {
tabId: string;
disabled?: boolean;
class?: string;
badge?: boolean;
badgeContent?: string | number;
children?: any;
icon?: any;
badge?: any;
};
/**
* TabButton
*
* Individual tab button component for use within Tabs.
*
* @prop {string} tabId - Unique identifier for this tab
* @prop {boolean} [disabled=false] - Whether this tab is disabled
* @prop {string} [className] - Additional CSS classes
* @prop {boolean} [badge] - Whether to show a badge
* @prop {string | number} [badgeContent] - Content for the badge
*
* @children default - Tab button content
* @children icon - Icon to display in the tab
* @children badge - Custom badge content
*/
declare const TabButton: import("svelte").Component<$$ComponentProps, {}, "">;
type TabButton = ReturnType<typeof TabButton>;
export default TabButton;
//# sourceMappingURL=TabButton.svelte.d.ts.map