import {
DialogProperties,
PlatformServiceName,
} from '@limetech/lime-web-components';
const properties: DialogProperties = {
userId: 123,
mode: 'edit',
allowDelete: true,
fields: ['name', 'email', 'phone'],
};
const dialogRenderer = platform.get(PlatformServiceName.Dialog);
dialogRenderer.create('user-form-dialog', properties);
Properties to pass to a dialog component
An object mapping property names to values. These will be set as properties on the dialog's web component instance when the dialog is created or updated.