Files
Umbraco-CMS/src/Umbraco.Web.UI.Client/examples/modal-routed/modal/example-modal-token.ts

14 lines
334 B
TypeScript
Raw Normal View History

2024-08-06 10:25:19 +02:00
import { UmbModalToken } from '@umbraco-cms/backoffice/modal';
2024-08-06 10:25:19 +02:00
export type Data = object;
export type RetData = object;
2024-08-06 10:25:19 +02:00
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',
},
},
);