UNPKG

@primer/components

Version:
26 lines (25 loc) 1.5 kB
/// <reference types="hoist-non-react-statics" /> /// <reference types="react" /> import { SystemCommonProps } from './constants'; import { SxProp } from './sx'; import { ComponentProps } from './utils/types'; declare const CircleBadge: import("styled-components").StyledComponent<"div", any, { inline?: boolean | undefined; variant?: "large" | "medium" | "small" | undefined; size?: number | undefined; } & SystemCommonProps & SxProp, never>; declare const CircleBadgeIcon: import("styled-components").StyledComponent<({ icon: IconComponent, ...rest }: { icon: import("react").ElementType<any>; } & import("@primer/octicons-react/dist/icons").IconProps) => JSX.Element, any, SystemCommonProps & SxProp, never>; export declare type CircleBadgeProps = ComponentProps<typeof CircleBadge>; export declare type CircleBadgeIconProps = ComponentProps<typeof CircleBadgeIcon>; declare const _default: string & import("styled-components").StyledComponentBase<"div", any, { inline?: boolean | undefined; variant?: "large" | "medium" | "small" | undefined; size?: number | undefined; } & SystemCommonProps & SxProp, never> & import("hoist-non-react-statics").NonReactStatics<never, {}> & { Icon: import("styled-components").StyledComponent<({ icon: IconComponent, ...rest }: { icon: import("react").ElementType<any>; } & import("@primer/octicons-react/dist/icons").IconProps) => JSX.Element, any, SystemCommonProps & SxProp, never>; }; export default _default;