import { HTMLProps, ReactNode } from 'react'; import { KnownIcons } from '../Icon/Icon.component'; /** * @deprecated Tab is deprecated and may be removed in any of the next major releases. Once TabBar is refactored to being representational-only, you will be able to use TabBar in combination with react-tabs directly if you want to keep the react-tabs internal logic. * A Tab Component representing an individual Tab inside a wrapping TabList inside a wrapping Tabs component. Not to be used standalone outside of the mentioned parent components. * @see https://cloudoperators.github.io/juno/?path=/docs/layout-tabs-tab--docs * @see {@link TabProps} */ export declare const Tab: { ({ children, label, icon, disabled, className, ...props }: TabProps): ReactNode; tabsRole: string; }; export interface TabProps extends Omit, "tabIndex"> { /** The children to render inside the Tab (-button) */ children?: ReactNode; /** The Tab label (only rendered when no children are supplied) */ label?: string; /** Pass the name of an icon to render in the Tab. Can be any icon included with Juno. */ icon?: KnownIcons; /** Whether the Tab is disabled */ disabled?: boolean; } //# sourceMappingURL=Tab.component.d.ts.map