import { DefineComponent } from 'vue'; import { HTMLAttributes } from 'svelte/elements'; export interface TabProps { /** Exposed by pyro-tab-group as value in click event handler */ value?: string | number; /** Label of tab */ label?: string; /** Selected */ selected?: boolean; /** The id of the panel the this tab shows */ 'aria-controls'?: string; /** Tab clicked */ onClick?: (e: Event) => void; /** Slot for label */ children?: any; } declare module 'vue' { interface GlobalComponents { 'pyro-tab': DefineComponent; } } interface PyroTabPreact extends Omit, TabProps { } declare module 'preact/jsx-runtime' { namespace JSX { interface IntrinsicElements { 'pyro-tab': PyroTabPreact; } } } interface PyroTabSvelte extends Omit, keyof TabProps>, TabProps { } declare module 'svelte/elements' { interface SvelteHTMLElements { 'pyro-tab': PyroTabSvelte; } } declare module 'solid-js' { namespace JSX { interface IntrinsicElements { 'pyro-tab': PyroTabPreact; } } } export {};