///
import type { SvelteComponentTyped } from "svelte";
export interface TabProps
extends svelte.JSX.HTMLAttributes {
/**
* @default null
*/
class?: string | false | null;
/**
* A class string to assign to the `` element.
* @default null
*/
inputClass?: string | false | null;
/**
* A class string to add to the content of the tab.
* @default null
*/
contentClass?: string | false | null;
/**
* The value assigned to the ``. Check [MDN Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio#Value) for more information.
* @default undefined
*/
value: string;
/**
* The name assigned to the ``'s [name attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname).
* @default null
*/
name?: string | null;
/**
* The `value` of the currently selected tab. Use with `bind:group`.
* @default null
*/
group?: string | null;
/**
* Disallows selecting this tab.
* @default false
*/
disabled?: boolean;
/**
* Disables the ripple on the tab when clicking on it.
* @default false
*/
noRipple?: boolean;
}
export default class Tab extends SvelteComponentTyped<
TabProps,
{
change: CustomEvent<{ value: string; nativeEvent: Event }>;
click: CustomEvent<{ nativeEvent: MouseEvent }>;
},
{ default: {} }
> {}