@sitecore/sc-contenthub-blok
Version:
A UI library for [Sitecore Content Hub](https://doc.sitecore.com/ch/).
23 lines • 787 B
TypeScript
import { type FC, type MouseEventHandler, type PropsWithChildren, type ReactNode, Ref } from "react";
import { type ColorName } from "../../Foundations";
import { type IconName } from "../BlokIcon/BlokIcon";
export interface BlokBadgeSlots {
start?: ReactNode;
end?: ReactNode;
}
export interface BlokBadgeProps {
colorScheme?: ColorName;
className?: string;
expandedContent?: ReactNode;
expandLabel?: string;
collapseLabel?: string;
iconName?: IconName;
allowMultiline?: boolean;
count?: number;
slots?: BlokBadgeSlots;
onIconClick?: MouseEventHandler<HTMLElement>;
iconRef?: Ref<HTMLElement>;
ref?: Ref<HTMLElement>;
}
export declare const BlokBadge: FC<PropsWithChildren<BlokBadgeProps>>;
//# sourceMappingURL=BlokBadge.d.ts.map