UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

23 lines 1.23 kB
import { EntityType } from '@sage-bionetworks/synapse-client'; import { ColumnModel, ViewScope } from '@sage-bionetworks/synapse-types'; import { SetOptional } from 'type-fest'; export declare const HIERARCHY_VERTICAL_LINE_COMPONENT: import("react/jsx-runtime").JSX.Element; export declare const HIERARCHY_END_COMPONENT: import("react/jsx-runtime").JSX.Element; export type SubmitHandle = { submit: () => void; getEditedColumnModels: () => SetOptional<ColumnModel, 'id'>[]; validate: () => boolean; }; type TableColumnSchemaFormProps = { entityType: EntityType; viewScope?: ViewScope; initialData?: SetOptional<ColumnModel, 'id'>[]; onSubmit?: (newColumnModels: SetOptional<ColumnModel, 'id'>[]) => void; isSubmitting?: boolean; /** The original/current column models that are applied to the table, if they exist. */ originalColumnModels?: ColumnModel[]; }; export declare const ADD_ALL_ANNOTATIONS_BUTTON_TEXT = "Add All Annotations"; declare const TableColumnSchemaFormWrapped: import("react").ForwardRefExoticComponent<TableColumnSchemaFormProps & import("react").RefAttributes<SubmitHandle>>; export default TableColumnSchemaFormWrapped; //# sourceMappingURL=TableColumnSchemaForm.d.ts.map