UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

22 lines (21 loc) 1.01 kB
import { KendoComponent } from '../_types/component'; export declare const BADGE_CLASSNAME = "k-badge"; declare const options: { size: ("small" | "medium" | "large")[]; rounded: ("small" | "medium" | "full" | "large")[]; fillMode: ("outline" | "solid")[]; themeColor: ("base" | "error" | "inverse" | "success" | "dark" | "light" | "primary" | "secondary" | "tertiary" | "info" | "warning")[]; }; export type KendoBadgeOptions = { size?: (typeof options.size)[number] | null; rounded?: (typeof options.rounded)[number] | null; fillMode?: (typeof options.fillMode)[number] | null; themeColor?: (typeof options.themeColor)[number] | null; }; export type KendoBadgeProps = KendoBadgeOptions & { cutoutBorder?: boolean; position?: null | 'edge' | 'inside' | 'outside'; align?: null | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end'; }; export declare const Badge: KendoComponent<KendoBadgeProps & React.HTMLAttributes<HTMLSpanElement>>; export default Badge;