@ai-stack/payloadcms
Version:
<p align="center"> <img alt="Payload AI Plugin" src="assets/payload-ai-intro.gif" width="100%" /> </p>
15 lines (14 loc) • 360 B
TypeScript
import React from 'react';
export declare const FieldContext: React.Context<{
path?: string;
schemaPath?: string;
type?: string;
}>;
export declare const FieldProvider: ({ children, context, }: {
children: React.ReactNode;
context: {
path: string;
schemaPath: unknown;
type: unknown;
};
}) => React.JSX.Element;