@kubit-ui-web/react-components
Version:
Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience
4 lines (3 loc) • 386 B
TypeScript
import { ForwardedRef, MutableRefObject } from 'react';
export declare const getCharactersLength: (value: string | number | undefined, ref: ForwardedRef<HTMLInputElement | undefined>) => number;
export declare const buildScreenReaderText: (value: string | number | undefined, ref: MutableRefObject<HTMLInputElement>, maxLength: number, screenReaderText?: string) => string | undefined;