@hmlr/govuk-react-components-library
Version:
These are common component use for React applications based on GDS and govuk-frontend
16 lines (15 loc) • 503 B
TypeScript
import { ErrorMessageProps } from "../ErrorMessage/ErrorMessage.types";
import { HintProps } from "../Hint/Hint.types";
import { LabelProps } from "../Label/Label.types";
export interface FileUploadProps extends React.InputHTMLAttributes<HTMLInputElement> {
className?: string;
errorMessage?: ErrorMessageProps;
formGroup?: {
className?: string;
[key: string]: unknown;
};
hint?: HintProps;
label?: LabelProps;
"aria-describedby"?: string;
id?: string;
}