@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
19 lines • 604 B
text/typescript
import { ComponentProps, ReactNode, Ref } from "react";
//#region src/base-ui/Badge/type.d.ts
type BadgeStatus = 'success' | 'processing' | 'default' | 'error' | 'warning';
type BadgeSize = 'default' | 'small';
interface BadgeProps extends Omit<ComponentProps<'span'>, 'color'> {
color?: string;
count?: ReactNode;
dot?: boolean;
offset?: [number, number];
overflowCount?: number;
ref?: Ref<HTMLSpanElement>;
showZero?: boolean;
size?: BadgeSize;
status?: BadgeStatus;
text?: ReactNode;
}
//#endregion
export { BadgeProps, BadgeSize, BadgeStatus };
//# sourceMappingURL=type.d.mts.map