UNPKG

@spaced-out/ui-design-system

Version:
35 lines 987 B
import * as React from 'react'; import type { Flow } from 'flow-to-typescript-codemod'; import type { IconType } from '../../Icon'; 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 type 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; width?: string; onClick?: ((arg1: React.SyntheticEvent<HTMLElement>) => unknown) | null | undefined; }; export declare const Tab: Flow.AbstractComponent<TabProps, HTMLButtonElement>; export {}; //# sourceMappingURL=Tab.d.ts.map