UNPKG

mui-spfx-controls

Version:
28 lines 1.15 kB
import { Version } from '@microsoft/sp-core-library'; import { type IPropertyPaneConfiguration } from '@microsoft/sp-property-pane'; import { BaseClientSideWebPart, WebPartContext } from '@microsoft/sp-webpart-base'; import { GridProps, PaperProps, TextFieldProps } from '@mui/material'; export interface IListFormWebPartProps { context: WebPartContext; list: string; fields: string[]; stringOnSave: string; onSave: ((formData: Record<string, any>) => void) | null; onCancel: () => void; label?: string; paperVariant?: PaperProps['variant']; paperElevation?: PaperProps['elevation']; inputVariant?: TextFieldProps['variant']; inputSize?: TextFieldProps['size']; fieldSpacing?: GridProps['spacing']; } export default class ListFormWebPart extends BaseClientSideWebPart<IListFormWebPartProps> { private handleCancel; render(): void; protected onInit(): Promise<void>; protected onDispose(): void; protected get dataVersion(): Version; private parseOnSaveFn; protected getPropertyPaneConfiguration(): IPropertyPaneConfiguration; } //# sourceMappingURL=ListFormWebPart.d.ts.map