@smitch/fluid
Version:
A Next/React ui-component libray.
12 lines (11 loc) • 583 B
TypeScript
/// <reference types="react" />
export interface BadgeProps {
className?: string;
style?: React.CSSProperties;
children: React.ReactNode;
layout?: 'square' | 'circle' | 'rounded' | 'pill';
position?: 'inline' | 'left' | 'right';
badgeBackground?: 'dark' | 'light' | 'info' | 'success' | 'warning' | 'danger' | 'primary' | 'secondary' | 'accent' | 'neutral' | 'transparent';
badgeColor?: 'dark' | 'light' | 'info' | 'success' | 'warning' | 'danger' | 'primary' | 'secondary' | 'current' | 'accent' | 'neutral';
size?: 'sm' | 'md' | 'lg' | 'inherit';
}