make discard btn more apparent in UI (#912)

This commit is contained in:
Ansh
2023-06-26 17:10:04 -07:00
committed by GitHub
parent cd21a7dfc9
commit 25b3e14926
3 changed files with 22 additions and 14 deletions
+3
View File
@@ -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 {