Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added outline variant for cancel button #72

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

jp8577
Copy link
Collaborator

@jp8577 jp8577 commented Nov 12, 2024

Edit: Modified it to handle multiple variants using clsx
image

@jp8577 jp8577 added the Layout label Nov 12, 2024
@jp8577 jp8577 self-assigned this Nov 12, 2024
@jp8577 jp8577 linked an issue Nov 12, 2024 that may be closed by this pull request
return (
<button
className="rounded-md bg-starlight-blue px-8 py-2 font-serif text-white hover:opacity-80"
className={`rounded-md px-8 py-2 font-serif hover:opacity-80 ${
variant === "outline"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

outline wont be the only variant we have, so it should be able to handle multiple variants nicely

@shahdivyank
Copy link
Contributor

variants should be handled externally similar to shadcn's method of handling variants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Outline Variant to Button
2 participants