Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
carina-akaia committed Jun 18, 2024
1 parent f7984a9 commit 93c1cc8
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/modules/donation/components/DonationConfirmation.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
import { UseFormReturn } from "react-hook-form";

import { DialogHeader, DialogTitle } from "@/common/ui/components";

import { DonationInputs } from "../models";

export type DonationConfirmationProps = {
form: UseFormReturn<DonationInputs>;
};

export const DonationConfirmation = ({
form: _,
}: DonationConfirmationProps) => {
export const DonationConfirmation = ({ form }: DonationConfirmationProps) => {
const values = form.watch();

console.log(values);

return (
<div>
<h1>Confirm donation</h1>
</div>
<>
<DialogHeader>
<DialogTitle>{"Confirm donation"}</DialogTitle>
</DialogHeader>
</>
);
};

0 comments on commit 93c1cc8

Please sign in to comment.