UNPKG

@progress/kendo-react-labels

Version:

React Labels package provides components for labelling form editors. KendoReact Labels package

65 lines (64 loc) 1.92 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { default as PropTypes } from 'prop-types'; import { LabelsClassStructure } from '@progress/kendo-react-common'; import * as React from 'react'; /** * Represents the props of the KendoReact Hint component. */ export interface HintProps { /** * Represents the id of the Hint element. * The value should be set to the editor `ariaDescribedBy` property. */ id?: string; /** * Spcifies the alignment of the Hint text. * * The possible values are: * *(Default) `start` * * `end` */ direction?: 'start' | 'end'; /** * @hidden */ children: any; /** * The styles that are applied to the Hint. */ style?: React.CSSProperties; /** * Sets a class of the Hint DOM element. */ className?: string; /** * Specifies if the editor is disabled. */ editorDisabled?: boolean; /** * @hidden */ unstyled?: LabelsClassStructure; } /** * Represents the KendoReact Hint component. * Render the hint text that will be shown underneath the form editor. */ export declare const Hint: { (props: HintProps): React.JSX.Element; propTypes: { id: PropTypes.Requireable<string>; direction: PropTypes.Requireable<string>; children: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>; style: PropTypes.Requireable<object>; className: PropTypes.Requireable<string>; editorDisabled: PropTypes.Requireable<boolean>; }; displayName: string; };