Skip to content

Commit

Permalink
feat : add Back Button in mealSelectionForPayment
Browse files Browse the repository at this point in the history
  • Loading branch information
annadiplacido committed Oct 31, 2024
1 parent ae51871 commit ff19565
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions libs/ui/common/src/lib/commandsR/mealSelectionForPayment.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';
import Footer from '../utils/mealSelectionForPaymentFooter';
import BackButton from '../utils/backButton';

export function MealSelectionForPayment() {
function handleClose() {
Expand All @@ -14,8 +15,16 @@ export function MealSelectionForPayment() {
console.log('Group button clicked');
}

function handdleBackButtonClick(): void {
console.log('Back button clicked');
}

return (
<div style={{ paddingBottom: '80px' }}>
<BackButton
onClick={() => handdleBackButtonClick()}

/>
<Footer
onClose={handleClose}
onSelectWhoPays={handleSelectWhoPays}
Expand Down

0 comments on commit ff19565

Please sign in to comment.