UNPKG

tinacms

Version:

> The Fastest Way to Edit Next.js Content

15 lines (14 loc) 616 B
/// <reference types="react" /> import { InputProps } from '../components'; export interface ColorFieldProps { colorFormat: string; colors: string[]; widget?: 'sketch' | 'block'; } export declare const ColorField: (props: import("./wrap-field-with-meta").InputFieldType<InputProps, ColorFieldProps>) => JSX.Element; export declare const ColorFieldPlugin: { name: string; Component: (props: import("./wrap-field-with-meta").InputFieldType<InputProps, ColorFieldProps>) => JSX.Element; parse: (value?: string) => string; validate(value: any, values: any, meta: any, field: any): string; };