UNPKG

tinacms

Version:

> The Fastest Way to Edit Next.js Content

16 lines (15 loc) 573 B
/// <reference types="react" /> import { InputProps } from '../components'; export declare const NumberField: (props: import("./wrap-field-with-meta").InputFieldType<{ step: string | number; input: InputProps; }, {}>) => JSX.Element; export declare const NumberFieldPlugin: { name: string; Component: (props: import("./wrap-field-with-meta").InputFieldType<{ step: string | number; input: InputProps; }, {}>) => JSX.Element; parse: (value?: string) => number; validate(value: any, values: any, meta: any, field: any): string; };