feat: add discard changes modal to profile edit
This commit is contained in:
committed by
Christel Westerberg
parent
bcc0835386
commit
b2de45ab5c
10
types/components/dialog.ts
Normal file
10
types/components/dialog.ts
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user