import { ComponentPropsWithRef, PropsWithChildren, ReactElement } from 'react'; import PropTypes from 'prop-types'; export interface TabContextType { activeTab?: number | null; rootId: string; index: number; onTabSelect: (index: number) => void; } export type NxTabsProps = ComponentPropsWithRef<'div'> & { activeTab?: number | null; onTabSelect: ((index: number) => void); children?: ReactElement | ReactElement[] | null; }; export type NxTabListProps = ComponentPropsWithRef<'ul'>; export type NxTabPanelProps = ComponentPropsWithRef<'div'>; export type NxTabProps = ComponentPropsWithRef<'li'> & { index?: number | null; }; export declare const nxTabsPropTypes: PropTypes.ValidationMap; export declare const nxTabPropTypes: PropTypes.ValidationMap; export declare const nxTabListPropTypes: PropTypes.ValidationMap; export declare const nxTabPanelPropTypes: PropTypes.ValidationMap; //# sourceMappingURL=types.d.ts.map