UNPKG

@gravity-ui/uikit

Version:

Gravity UI base styling and components

9 lines (8 loc) 361 B
import * as React from 'react'; import type { TabComponentElementType, TabProps } from "../types.js"; export type TabElementProps = React.HTMLAttributes<HTMLElement> & { [key: `data-${string}`]: string | undefined; }; export declare function useTab<T extends TabComponentElementType>(tabProps: TabProps<T> & { isMenuItem?: boolean; }): TabElementProps;