soignant-nomade-ui
Version:
A react library for the soignant-nomade design system. You can find a storybook project inside it
8 lines (7 loc) • 397 B
TypeScript
import { CSSProperties, HTMLAttributes } from "react";
export interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
overwriteStyle?: CSSProperties;
mode?: "default" | "disabled" | "primary" | "secondary" | "cta" | "info" | "success" | "warning";
}
export declare const Badge: ({ mode, overwriteStyle, children, ...props }: BadgeProps) => JSX.Element;
export default Badge;