-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Secondary button back to first-page as per Design (#216)
- Loading branch information
1 parent
c51fd66
commit 0806744
Showing
2 changed files
with
20 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export default function SecondaryButton({ | ||
label, | ||
onClick, | ||
}: { | ||
label: string; | ||
onClick?: () => void; | ||
}) { | ||
return ( | ||
<button | ||
className="h-10 p-3 rounded-lg border border-primary_l1 justify-center items-center gap-2 inline-flex hover:bg-primary_default hover:border-primary_default hover:bg-opacity-10" | ||
onClick={onClick} | ||
> | ||
<div className=" text-primary_default text-sm font-semibold leading-none"> | ||
{label} | ||
</div> | ||
</button> | ||
); | ||
} |