@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
27 lines (26 loc) • 1 kB
TypeScript
export declare const TOOLTIP_CLASSNAME = "k-tooltip";
declare const options: {
themeColor: ("error" | "inverse" | "success" | "dark" | "light" | "primary" | "secondary" | "tertiary" | "info" | "warning")[];
};
export type KendoTooltipOptions = {
themeColor?: (typeof options.themeColor)[number] | null;
};
export type KendoTooltipProps = KendoTooltipOptions & {
callout?: null | 'top' | 'bottom' | 'left' | 'right';
closable?: boolean;
title?: string | React.JSX.Element;
content?: string | React.JSX.Element;
icon?: string;
};
export declare const Tooltip: {
(props: KendoTooltipProps & Omit<React.HTMLAttributes<HTMLDivElement>, "content">): import("react/jsx-runtime").JSX.Element;
states: any[];
options: {
themeColor: ("error" | "inverse" | "success" | "dark" | "light" | "primary" | "secondary" | "tertiary" | "info" | "warning")[];
};
className: string;
defaultOptions: {
closable: boolean;
};
};
export default Tooltip;