UNPKG

@engie-group/fluid-design-system-react

Version:

Fluid Design System React

17 lines (16 loc) 720 B
import { NavigationTabProperties } from '@engie-group/fluid-types'; import { ButtonHTMLAttributes, HTMLAttributes, ReactElement } from 'react'; import { ActionAsChild } from '../../../utils/typeHelpers'; type NJNavigationTabSlots = { /** * Leading icon of the navigation action. */ customIcon?: ReactElement; /** * Trailing content of the navigation action. */ trailing?: ReactElement; }; export type NJNavigationTabProps = NavigationTabProperties & HTMLAttributes<HTMLDivElement> & NJNavigationTabSlots & ActionAsChild<ButtonHTMLAttributes<HTMLButtonElement>>; export declare function NJNavigationTab(props: NJNavigationTabProps): import("react/jsx-runtime").JSX.Element; export {};