@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
18 lines (17 loc) • 693 B
TypeScript
export declare const FLOATINGLABEL_CLASSNAME = "k-floating-label-container";
declare const states: ("focus" | "invalid" | "disabled" | "empty" | "hover" | "valid")[];
export type FloatingLabelState = {
[K in (typeof states)[number]]?: boolean;
};
export type KendoFloatingLabelProps = {
label?: string;
optional?: boolean;
};
export declare const FloatingLabel: {
(props: FloatingLabelState & KendoFloatingLabelProps & React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
states: ("focus" | "invalid" | "disabled" | "empty" | "hover" | "valid")[];
options: {};
className: string;
defaultOptions: {};
};
export default FloatingLabel;