UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

28 lines 1.2 kB
import type React from 'react'; import { type FC } from 'react'; import type { IconProps } from '@primer/octicons-react'; import { type SxProp } from '../../sx'; import type { ForwardRefComponent as PolymorphicForwardRefComponent } from '../../utils/polymorphic'; export declare const GAP = 8; type UnderlineWrapperProps = { slot?: string; as?: React.ElementType; className?: string; ref?: React.Ref<unknown>; } & SxProp; export declare const UnderlineWrapper: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<UnderlineWrapperProps>, "ref"> & React.RefAttributes<unknown>>; export declare const UnderlineItemList: PolymorphicForwardRefComponent<"ul">; export declare const LoadingCounter: () => React.JSX.Element; export type UnderlineItemProps = { as?: React.ElementType | 'a' | 'button'; className?: string; iconsVisible?: boolean; loadingCounters?: boolean; counter?: number | string; icon?: FC<IconProps> | React.ReactElement; id?: string; ref?: React.Ref<unknown>; } & SxProp; export declare const UnderlineItem: PolymorphicForwardRefComponent<"a", UnderlineItemProps>; export {}; //# sourceMappingURL=UnderlineTabbedInterface.d.ts.map