feat: add discard changes modal to profile edit

This commit is contained in:
Simon Emanuelsson
2024-08-26 12:39:13 +02:00
committed by Christel Westerberg
parent bcc0835386
commit b2de45ab5c
12 changed files with 246 additions and 165 deletions

View File

@@ -0,0 +1,10 @@
export interface DialogProps {
bodyText: string
cancelButtonText: string
proceedHref?: string
proceedIsPending?: boolean
proceedOnClick?: (close: () => void) => void
proceedText: string
titleText: string
triggerButtonText: React.ReactNode
}