UNPKG

@spaced-out/ui-design-system

Version:
38 lines 1.1 kB
import * as React from 'react'; import type { Flow } from 'flow-to-typescript-codemod'; import type { IconType } from '../../../components/Icon'; import type { ElevationType } from '../../../components/Tooltip'; type ClassNames = Readonly<{ wrapper?: string; iconTextWrap?: string; }>; export declare const TAB_SIZE: Readonly<{ small: "small"; medium: "medium"; }>; export declare const tabSizeOptions: Array<unknown>; export type TabSize = keyof typeof TAB_SIZE; export interface TabProps { classNames?: ClassNames; onSelect?: (arg1: { tabId?: string; label?: string; }) => unknown; size?: TabSize; selectedTab?: { tabId?: string; label?: string; }; disabled?: boolean; tabId?: string; label?: string; iconName?: string; iconType?: IconType; maxWidth?: string; elevation?: ElevationType; onClick?: (e: React.SyntheticEvent<HTMLElement>) => unknown; testId?: string; } export declare const Tab: Flow.AbstractComponent<TabProps, HTMLButtonElement>; export {}; //# sourceMappingURL=Tab.d.ts.map