tinacms
Version:
> The Fastest Way to Edit Next.js Content
21 lines (20 loc) • 706 B
TypeScript
import React from 'react';
import { InputProps } from 'react-select/lib/components/Input';
import { InputFieldType } from '../wrap-field-with-meta';
import type { MdxTemplate } from './plate/types';
export declare type RichTextType = React.PropsWithChildren<InputFieldType<InputProps, {
templates: MdxTemplate[];
}>>;
export declare const MdxFieldPlugin: {
name: string;
Component: (props: InputFieldType<InputProps, {
templates: MdxTemplate[];
}>) => JSX.Element;
};
export declare const MdxFieldPluginExtendible: {
name: string;
validate(value: any): string;
Component: (props: InputFieldType<InputProps, {
templates: MdxTemplate[];
}>) => JSX.Element;
};