UNPKG

drf-react-by-schema

Version:

Components and Tools for building a React App having Django Rest Framework (DRF) as server

21 lines 927 B
import { JSX } from 'react'; import { SxProps } from '@mui/material'; import { FormFieldLayout, GenericValue, Item, GridEnrichedBySchemaColDef } from '../../@types'; import { DialogType, OnEditModelType } from '../../context/APIWrapperContext'; interface SelectEditInputCellProps { field: string; id: number | string; value?: GenericValue; column: GridEnrichedBySchemaColDef; type: string; options?: Item[] | (() => Promise<Item[]>) | null; isIndexField: boolean; multiple?: boolean; onEditModel?: (x: OnEditModelType) => void; fieldsLayout?: FormFieldLayout[]; sx?: SxProps; setDialog: (x: Partial<DialogType>) => void; } export declare function SelectEditInputCell({ field, id, value, column, type, options, isIndexField, multiple, onEditModel, fieldsLayout, sx, setDialog, }: SelectEditInputCellProps): JSX.Element; export {}; //# sourceMappingURL=SelectEditInputCell.d.ts.map