UNPKG

baseui

Version:

A React Component library implementing the Base design language

26 lines (25 loc) 772 B
import * as React from 'react'; import type { TabProps, SharedStylePropsArg } from './types'; import type { SyntheticEvent } from 'react'; declare class TabComponent extends React.Component<TabProps, { isFocusVisible: boolean; }> { static defaultProps: { disabled: boolean; expanded: boolean; onSelect: () => void; onClick: () => void; onKeyDown: () => void; title: string; }; state: { isFocusVisible: boolean; }; handleFocus: (event: SyntheticEvent) => void; handleBlur: (event: SyntheticEvent) => void; onClick: (e: Event) => void; onKeyDown: (e: KeyboardEvent) => void; getSharedProps(): SharedStylePropsArg; render(): React.JSX.Element; } export default TabComponent;