UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

24 lines (23 loc) 926 B
import { KendoComponent } from '../_types/component'; export declare const ICON_CLASSNAME = "k-icon"; declare const states: never[]; declare const options: { size: ("small" | "medium" | "large" | "xsmall" | "xlarge" | "xxlarge" | "xxxlarge")[]; themeColor: ("base" | "error" | "success" | "dark" | "light" | "primary" | "secondary" | "tertiary" | "info" | "warning")[]; }; export type IconState = { [K in (typeof states)[number]]?: boolean; }; export type IconOptions = { size?: (typeof options.size)[number]; themeColor?: (typeof options.themeColor)[number]; }; export type IconProps = IconOptions & { icon?: string; type?: 'svg' | 'font'; rotate?: null | '0' | '45' | '90' | '135' | '180' | '225' | '270' | '315'; flip?: null | 'v' | 'h' | 'both'; viewBox?: string; }; export declare const Icon: KendoComponent<IconProps & React.HTMLAttributes<HTMLSpanElement>>; export default Icon;