@tiller-ds/formik-elements
Version:
Formik elements module of Tiller Design System
12 lines (11 loc) • 510 B
TypeScript
/// <reference types="react" />
import { NumberInputProps } from "@tiller-ds/form-elements";
declare type NumberInputOnlyPropsUnion = "value" | "onChange" | "onBlur" | "error";
export declare type NumberInputFieldProps = {
/**
* The accessor value for the component (for validation, fetching, etc.).
*/
name: string;
} & Omit<NumberInputProps, NumberInputOnlyPropsUnion>;
export default function NumberInputField({ name, ...props }: NumberInputFieldProps): JSX.Element;
export {};