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.

9 lines (8 loc) 454 B
/// <reference types="react" /> export declare const ToggleField: (props: import("./wrapFieldWithMeta").InputFieldType<import("../components").ToggleProps, {}>) => JSX.Element; export declare const ToggleFieldPlugin: { name: string; type: string; Component: (props: import("./wrapFieldWithMeta").InputFieldType<import("../components").ToggleProps, {}>) => JSX.Element; validate(value: any, values: any, meta: any, field: any): string; };