-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b4317da
commit bdc4b98
Showing
3 changed files
with
40 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
const Payment = ({ img, label, id, value }) => { | ||
const copyEvent = () => {}; | ||
|
||
return ( | ||
<div className="flex justify-between items-center p-4 h-14 sm:mx-0 mx-1 bg-neutral shadow-md rounded-full transition ease-in-out delay-150 sm:hover:scale-105 duration-300"> | ||
<img src={img} alt={label + " logo"} className="w-8 h-8" /> | ||
<p className="font-normal text-base text-neutral-content mx-2 flex-grow text-center pl-9"> | ||
{label} | ||
</p> | ||
<div> | ||
<button | ||
className="btn btn-sm bg-neutral border-0 text-neutral-content hover:bg-neutral-focus" | ||
onClick={copyEvent} | ||
> | ||
<i className="bx bx-copy text-lg"></i> | ||
</button> | ||
<button className="btn btn-sm bg-neutral border-0 text-neutral-content hover:bg-neutral-focus"> | ||
<i className="bx bx-qr text-lg"></i> | ||
</button> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Payment; |