This commit is contained in:
Niels Lyngsø
2024-08-06 10:25:19 +02:00
parent 5ac8813ba0
commit 97d7943ba5

View File

@@ -1,15 +1,14 @@
import { UmbModalToken } from "@umbraco-cms/backoffice/modal";
import { UmbModalToken } from '@umbraco-cms/backoffice/modal';
export type Data = {}
export type RetData = {}
export type Data = object;
export type RetData = object;
export const EXAMPLE_ROUTED_MODAL = new UmbModalToken<
Data,
RetData
>('example.routed.modal', // this needs to match the alias of the modal registered in manifest.ts
{
modal : {
type : 'dialog',
size : 'full'
}
});
export const EXAMPLE_ROUTED_MODAL = new UmbModalToken<Data, RetData>(
'example.routed.modal', // this needs to match the alias of the modal registered in manifest.ts
{
modal: {
type: 'dialog',
size: 'full',
},
},
);