UNPKG

tinacms

Version:

[![GitHub license](https://img.shields.io/github/license/tinacms/tinacms?color=blue)](https://github.com/tinacms/tinacms/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/tinacms.svg?style=flat)](https://www.npmjs.com/package/tinacms) [![Bui

37 lines (36 loc) 1.19 kB
import { Field, Form } from '../../forms'; import * as React from 'react'; export interface GroupFieldDefinititon extends Field { component: 'group'; fields: Field[]; } export interface GroupProps { input: any; meta: any; field: GroupFieldDefinititon; form: any; tinaForm: Form; } export declare const Group: (props: import("../../form-builder").InputFieldType<GroupProps, GroupFieldDefinititon>) => React.JSX.Element; export declare const PanelHeader: ({ onClick, children }: { onClick: any; children: any; }) => React.JSX.Element; export declare const PanelBody: ({ id, children }: { id: any; children: any; }) => React.JSX.Element; export declare const GroupPanel: ({ isExpanded, className, style, ...props }: { [x: string]: any; isExpanded: any; className?: string; style?: {}; }) => React.JSX.Element; export interface GroupFieldProps { field: Field; } export declare function GroupField(props: GroupFieldProps): React.JSX.Element; export declare const GroupFieldPlugin: { name: string; Component: (props: import("../../form-builder").InputFieldType<GroupProps, GroupFieldDefinititon>) => React.JSX.Element; };