Skip to content

Commit

Permalink
feat(INJI-299): refactor confirmation dialog props
Browse files Browse the repository at this point in the history
Signed-off-by: Pooja Babusingh <[email protected]>
  • Loading branch information
PoojaBabusingh committed Oct 18, 2023
1 parent 241d99b commit c2486b2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/ConfrimationDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ export const ConfirmationDialog: React.FC<ConfirmationDialogProps> = props => {
</Column>
<Button
type="gradient"
title={t(props.confirmButtonText)}
onPress={props.onConfirmButtonPress}
title={t(props.waitButtonText)}
onPress={props.onWaitButtonPress}
styles={Theme.MessageOverlayStyles.button}
/>
<Button
Expand All @@ -63,10 +63,10 @@ export const ConfirmationDialog: React.FC<ConfirmationDialogProps> = props => {
export interface ConfirmationDialogProps {
isVisible: boolean;
title: string;
confirmButtonText: string;
waitButtonText: string;
cancelButtonText: string;
message?: string;
onConfirmButtonPress: () => void;
onWaitButtonPress: () => void;
onCancelButtonPress: () => void;
onBackdropPress?: () => void;
customHeight?: number;
Expand Down

0 comments on commit c2486b2

Please sign in to comment.