@utrecht/component-library-react
Version:
React component library bundle for the Municipality of Utrecht based on the NL Design System architecture
15 lines • 884 B
TypeScript
import { ReactNode, Ref } from 'react';
import type { FormFieldProps } from './FormField';
import { TextboxProps } from './Textbox';
export interface FormFieldTextboxProps extends Omit<FormFieldProps, 'type'>, Pick<TextboxProps, 'autoComplete' | 'defaultValue' | 'disabled' | 'inputRequired' | 'invalid' | 'list' | 'max' | 'maxLength' | 'min' | 'minLength' | 'name' | 'pattern' | 'placeholder' | 'readOnly' | 'required' | 'size' | 'step' | 'value' | 'type'> {
description?: ReactNode;
errorMessage?: ReactNode;
inputDir?: TextboxProps['dir'];
inputRef?: Ref<HTMLInputElement>;
label: ReactNode;
status?: ReactNode;
}
export declare const FormFieldTextbox: import("react").ForwardRefExoticComponent<FormFieldTextboxProps & {
children?: ReactNode | undefined;
} & import("react").RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=FormFieldTextbox.d.ts.map