agnostic-svelte
Version:
AgnosticUI (svelte)
46 lines (45 loc) • 1.22 kB
TypeScript
/** @typedef {typeof __propDef.props} TabButtonCustomProps */
/** @typedef {typeof __propDef.events} TabButtonCustomEvents */
/** @typedef {typeof __propDef.slots} TabButtonCustomSlots */
export default class TabButtonCustom extends SvelteComponentTyped<{
disabled?: boolean;
focus?: () => any;
isDisabled?: () => any;
role?: string;
ariaControls?: string;
isActive?: boolean;
}, {
click: MouseEvent;
keydown: KeyboardEvent;
} & {
[evt: string]: CustomEvent<any>;
}, {
default: {};
}> {
get focus(): () => any;
get isDisabled(): () => any;
}
export type TabButtonCustomProps = typeof __propDef.props;
export type TabButtonCustomEvents = typeof __propDef.events;
export type TabButtonCustomSlots = typeof __propDef.slots;
import { SvelteComponentTyped } from "svelte";
declare const __propDef: {
props: {
disabled?: boolean;
focus?: () => any;
isDisabled?: () => any;
role?: string;
ariaControls?: string;
isActive?: boolean;
};
events: {
click: MouseEvent;
keydown: KeyboardEvent;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
export {};