UNPKG

@tinacms/toolkit

Version:

Tina is a lightweight but powerful toolkit for creating a site editing ui with javascript components. Tina surfaces superpowers for dev’s to create, expand on and customize a simple yet intuitive ui for editing content.

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