UNPKG

@actinc/dls

Version:

Design Language System (DLS) for ACT & Encoura front-end projects.

30 lines 1.06 kB
/** * Copyright (c) ACT, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @prettier */ import { FormControlProps, InputProps } from '@mui/material'; import { ReactElement } from 'react'; import { InputLabelProps } from "../InputLabel"; export type FormInputProps = InputProps & { errorMessage?: string; formControlProps?: FormControlProps; helpText?: string | ReactElement; label?: string | ReactElement; labelProps?: InputLabelProps; }; export declare function FormInput({ disabled, error, errorMessage, helpText, id, label, labelProps, required, fullWidth, formControlProps, ...formInputProps }: FormInputProps): ReactElement<FormInputProps>; export declare namespace FormInput { var defaultProps: { errorMessage: undefined; formControlProps: undefined; helpText: undefined; label: undefined; labelProps: undefined; }; } export default FormInput; //# sourceMappingURL=index.d.ts.map