From 25b3e14926d2d565b37c3ff715897ca7c513a0d2 Mon Sep 17 00:00:00 2001 From: Ansh Date: Mon, 26 Jun 2023 17:10:04 -0700 Subject: make discard btn more apparent in UI (#912) --- src/state/models/ui/shell.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/state/models/ui/shell.ts') 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 onPressCancel?: () => void | Promise + confirmBtnText?: string + confirmBtnStyle?: StyleProp } export interface EditProfileModal { -- cgit 1.4.1