@sky-mavis/tanto-widget
Version:
Tanto Widget
12 lines (11 loc) • 554 B
TypeScript
import { PropsWithChildren } from 'react';
type BadgeIntent = 'default' | 'highlight';
type BadgeProps = PropsWithChildren & {
intent?: BadgeIntent;
};
export declare const StyledBadge: import("@emotion/styled").StyledComponent<{
theme?: import("@emotion/react").Theme;
as?: React.ElementType;
} & Pick<BadgeProps, "intent">, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
export declare const Badge: (props: BadgeProps) => import("@emotion/react/jsx-runtime").JSX.Element;
export {};