about summary refs log tree commit diff
path: root/src/state/models/ui/shell.ts
diff options
context:
space:
mode:
authorAnsh <anshnanda10@gmail.com>2023-06-26 17:10:04 -0700
committerGitHub <noreply@github.com>2023-06-26 17:10:04 -0700
commit25b3e14926d2d565b37c3ff715897ca7c513a0d2 (patch)
treeecd17ea18d645e8cc2ca1283c0c028dac7aabe38 /src/state/models/ui/shell.ts
parentcd21a7dfc903576c49ec71cb929f2e1c291fa5d2 (diff)
downloadvoidsky-25b3e14926d2d565b37c3ff715897ca7c513a0d2.tar.zst
make discard btn more apparent in UI (#912)
Diffstat (limited to 'src/state/models/ui/shell.ts')
-rw-r--r--src/state/models/ui/shell.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state/models/ui/shell.ts b/src/state/models/ui/shell.ts
index d6ece48aa..ba03fe1b5 100644
--- a/src/state/models/ui/shell.ts
+++ b/src/state/models/ui/shell.ts
@@ -7,6 +7,7 @@ import {Image as RNImage} from 'react-native-image-crop-picker'
 import {ImageModel} from '../media/image'
 import {ListModel} from '../content/list'
 import {GalleryModel} from '../media/gallery'
+import {StyleProp, ViewStyle} from 'react-native'
 
 export type ColorMode = 'system' | 'light' | 'dark'
 
@@ -20,6 +21,8 @@ export interface ConfirmModal {
   message: string | (() => JSX.Element)
   onPressConfirm: () => void | Promise<void>
   onPressCancel?: () => void | Promise<void>
+  confirmBtnText?: string
+  confirmBtnStyle?: StyleProp<ViewStyle>
 }
 
 export interface EditProfileModal {