UNPKG

drf-react-by-schema

Version:

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

24 lines 1.05 kB
import { JSX } from 'react'; import { SxProps, Theme } from '@mui/material/styles'; 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<Theme>; setDialog: (x: Partial<DialogType>) => void; error?: boolean; helperText?: string; hasFocus?: boolean; } export declare function SelectEditInputCell({ field, id, value, column, type, options, isIndexField, multiple, onEditModel, fieldsLayout, sx, setDialog, error, helperText, hasFocus, }: SelectEditInputCellProps): JSX.Element; export {}; //# sourceMappingURL=SelectEditInputCell.d.ts.map