From 29bc0f1372879427340b26e9c287d38bed830c9a Mon Sep 17 00:00:00 2001 From: DS Boyce <260543580+ds-boyce@users.noreply.github.com> Date: Mon, 16 Feb 2026 13:29:25 -0800 Subject: [PATCH] Add optional props to Prompt.Action (#9887) --- src/components/Prompt.tsx | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/src/components/Prompt.tsx b/src/components/Prompt.tsx index cdafa85c7e..e538e6bc71 100644 --- a/src/components/Prompt.tsx +++ b/src/components/Prompt.tsx @@ -4,8 +4,14 @@ import {msg} from '@lingui/macro' import {useLingui} from '@lingui/react' import {atoms as a, useTheme, type ViewStyleProp, web} from '#/alf' -import {Button, type ButtonColor, ButtonText} from '#/components/Button' +import { + Button, + type ButtonColor, + ButtonIcon, + ButtonText, +} from '#/components/Button' import * as Dialog from '#/components/Dialog' +import {type Props as SVGIconProps} from '#/components/icons/common' import {Text} from '#/components/Typography' import {type BottomSheetViewProps} from '../../modules/bottom-sheet' @@ -126,7 +132,7 @@ export function Cancel({ ) }