UNPKG

nes-ui-react

Version:

A design system that paints the web in 8 bits.

16 lines (15 loc) 667 B
import { NamedColor } from "./interface/Color"; import { IdProps } from "./interface/IdProps"; import { StyleProps } from "./interface/StyleProps"; export interface BadgeProps extends StyleProps, IdProps { backgroundColor: NamedColor; color?: NamedColor | string; text: string; } export declare const Badge: (badgeProps: BadgeProps) => import("react/jsx-runtime").JSX.Element; export interface BadgeSplittedProps extends BadgeProps { backgroundColorLeft?: NamedColor; textLeft: string; colorLeft?: NamedColor | string; } export declare const BadgeSplitted: (badgeSplittedProps?: BadgeSplittedProps) => import("react/jsx-runtime").JSX.Element;