@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
26 lines (25 loc) • 1.11 kB
TypeScript
export declare const FONTICON_CLASSNAME = "k-font-icon";
declare const options: {
size: ("small" | "medium" | "large" | "xsmall" | "xlarge" | "xxlarge" | "xxxlarge")[];
themeColor: ("base" | "error" | "success" | "dark" | "light" | "primary" | "secondary" | "tertiary" | "info" | "warning")[];
};
export type FontIconOptions = {
size?: (typeof options.size)[number];
themeColor?: (typeof options.themeColor)[number];
};
export type FontIconProps = FontIconOptions & {
icon?: string;
rotate?: null | '0' | '45' | '90' | '135' | '180' | '225' | '270' | '315';
flip?: null | 'v' | 'h' | 'both';
};
export declare const FontIcon: {
(props: FontIconProps & React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
states: any[];
options: {
size: ("small" | "medium" | "large" | "xsmall" | "xlarge" | "xxlarge" | "xxxlarge")[];
themeColor: ("base" | "error" | "success" | "dark" | "light" | "primary" | "secondary" | "tertiary" | "info" | "warning")[];
};
className: string;
defaultOptions: {};
};
export default FontIcon;