@tiller-ds/formik-elements
Version:
Formik elements module of Tiller Design System
17 lines (16 loc) • 653 B
TypeScript
/// <reference types="react" />
import { TimeInputProps } from "@tiller-ds/date";
declare type TimeInputOnlyPropsUnion = "value" | "onChange" | "onBlur" | "error";
export declare type TimeInputFieldProps = {
/**
* Allows the clear button (x) to be shown when a value is present in the field.
* On by default.
*/
allowClear?: boolean;
/**
* The accessor value for the component (for validation, fetching, etc.).
*/
name: string;
} & Omit<TimeInputProps, TimeInputOnlyPropsUnion>;
export default function TimeInputField({ name, allowClear, ...props }: TimeInputFieldProps): JSX.Element;
export {};