UNPKG

@sitecore/sc-contenthub-blok

Version:

A UI library for [Sitecore Content Hub](https://doc.sitecore.com/ch/).

20 lines (19 loc) 727 B
import { type FC, HTMLProps, Ref } from "react"; import { ColorName, ColorShade } from "../../Foundations"; import { iconNames } from "./iconNames"; export type IconName = (typeof iconNames)[number] | string; export interface BlokIconProps extends HTMLProps<HTMLElement> { icon: IconName; classes?: Array<string | null>; tagName?: "i" | "em"; label?: string; iconColor?: ColorName | "inherit"; iconColorShade?: ColorShade; iconBackgroundColor?: ColorName | "inherit"; iconBackgroundColorShade?: ColorShade; iconSize?: "default" | "small" | "extraSmall"; ignoreIconOverride?: boolean; fontSize?: string; ref?: Ref<HTMLElement>; } export declare const BlokIcon: FC<BlokIconProps>;