UNPKG

@cap3/capitano-components

Version:
19 lines 738 B
import * as React from "react"; import { ValidationMessageProps } from "../../atoms/ValidationMessage/ValidationMessage"; import { InputProps } from "../../atoms/Input/Input"; export declare type LabelPositionProp = { labelPosition?: "top" | "left"; }; declare type ValidatedProp = { validated?: boolean; }; export declare type FormInputProps = ValidatedProp & InputProps & ValidationMessageProps & LabelPositionProp & { labelProps?: React.HtmlHTMLAttributes<HTMLLabelElement>; inputRef?: JSX.IntrinsicElements["input"]["ref"]; label?: string; validationIcon?: boolean; validationMessage?: string; }; export declare const FormInput: React.SFC<FormInputProps>; export {}; //# sourceMappingURL=FormInput.d.ts.map