@ozen-ui/kit
Version:
React component library
17 lines (16 loc) • 863 B
TypeScript
import './FieldHint.css';
import React from 'react';
import type { ReactNode, ComponentRef } from 'react';
import type { ExtendableComponentPropsWithRef } from '../../types/ExtendableComponentPropsWithRef';
import type { FormElementSizeVariant } from '../../types/FormElementSizeVariant';
export declare const FIELD_HINT_DEFAULT_TAG = "div";
export type FieldHintRef = ComponentRef<typeof FIELD_HINT_DEFAULT_TAG>;
export type FieldHintProps = ExtendableComponentPropsWithRef<{
children?: ReactNode;
error?: boolean;
disabled?: boolean;
size?: FormElementSizeVariant;
'data-testid'?: string;
}, typeof FIELD_HINT_DEFAULT_TAG>;
export declare const cnFieldHint: import("@bem-react/classname").ClassNameFormatter;
export declare const FieldHint: React.ForwardRefExoticComponent<Omit<FieldHintProps, "ref"> & React.RefAttributes<HTMLDivElement>>;