make discard btn more apparent in UI (#912)
This commit is contained in:
parent
cd21a7dfc9
commit
25b3e14926
3 changed files with 22 additions and 14 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue