@chief-editor/ui
Version:
UI Component for chief editor
10 lines (9 loc) • 372 B
TypeScript
import { HTMLAttributes } from 'react';
import { UnionOmit } from '@co-hooks/util';
import { IBadge } from './Badge';
export interface IBadgeText extends IBadge {
content: string;
supCls?: string;
}
export declare type IBadgeTextProps = UnionOmit<IBadgeText, HTMLAttributes<HTMLDivElement>>;
export declare function BadgeText(props: IBadgeTextProps): JSX.Element;