File: HelperText.d.ts

package info (click to toggle)
cockpit 354-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 308,956 kB
  • sloc: javascript: 775,606; python: 40,351; ansic: 35,655; cpp: 11,117; sh: 3,511; makefile: 580; xml: 261
file content (22 lines) | stat: -rw-r--r-- 1,108 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/// <reference types="react" />
export interface HelperTextProps extends React.HTMLProps<HTMLDivElement | HTMLUListElement> {
    /** Content rendered inside the helper text container. */
    children?: React.ReactNode;
    /** Additional classes applied to the helper text container. */
    className?: string;
    /** Component type of the helper text container */
    component?: 'div' | 'ul';
    /** ID for the helper text container. The value of this prop can be passed into a form component's
     * aria-describedby prop when you intend for all helper text items to be announced to
     * assistive technologies.
     */
    id?: string;
    /** Flag for indicating whether the helper text container is a live region. Use this prop when you
     * expect or intend for any helper text items within the container to be dynamically updated.
     */
    isLiveRegion?: boolean;
    /** Adds an accessible label to the helper text when component is a "ul". */
    'aria-label'?: string;
}
export declare const HelperText: React.FunctionComponent<HelperTextProps>;
//# sourceMappingURL=HelperText.d.ts.map