DialogApiDialog.update()
Home > @backstage/frontend-plugin-api
> DialogApiDialog
> update
Replaces the content of the dialog with the provided element or component, causing it to be rerenedered.
Signature:
update(elementOrComponent: React.JSX.Element | ((props: {
dialog: DialogApiDialog<TResult>;
}) => JSX.Element)): void;
Parameters
Parameter |
Type |
Description |
---|---|---|
elementOrComponent |
React.JSX.Element | ((props: { dialog: DialogApiDialog<TResult>; }) => JSX.Element) |
void