@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
10 lines (9 loc) • 382 B
TypeScript
import { InputState } from '../types/inputTheme';
export declare const buildAriaDescribedBy: ({ ariaDescribedBy, helpMessage, helpMessageId, errorMessage, errorMessageId, state, }: {
ariaDescribedBy?: string;
helpMessage?: React.ReactNode;
helpMessageId?: string;
errorMessage?: string;
errorMessageId?: string;
state?: InputState;
}) => string | undefined;