carbon-react
Version:
A library of reusable React components for easily building user interfaces.
16 lines (15 loc) • 759 B
TypeScript
declare const StyledBadgeWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
declare const StyledCounter: import("styled-components").StyledComponent<"div", any, {}, never>;
interface StyledBadgeProps {
customColor?: string;
size?: "small" | "medium" | "large";
variant?: "typical" | "subtle";
inverse?: boolean;
hasChildren?: boolean;
}
declare const StyledBadge: import("styled-components").StyledComponent<"span", any, {
theme: object;
} & {
as: import("react").ForwardRefExoticComponent<import("../button").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>> | undefined;
} & StyledBadgeProps, "theme" | "as">;
export { StyledBadge, StyledBadgeWrapper, StyledCounter };