add types for modal data and value
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
import { UmbModalToken } from '@umbraco-cms/backoffice/modal';
|
||||
|
||||
export const UMB_RESEND_INVITE_TO_USER_MODAL = new UmbModalToken('Umb.Modal.User.ResendInvite', {
|
||||
export type UmbResendInviteToUserModalData = {
|
||||
userId: string;
|
||||
};
|
||||
|
||||
export type UmbResendInviteToUserModalValue = undefined;
|
||||
|
||||
export const UMB_RESEND_INVITE_TO_USER_MODAL = new UmbModalToken<
|
||||
UmbResendInviteToUserModalData,
|
||||
UmbResendInviteToUserModalValue
|
||||
>('Umb.Modal.User.ResendInvite', {
|
||||
type: 'dialog',
|
||||
size: 'small',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user