-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feat buttons #15
Feat buttons #15
Conversation
Visit the preview URL for this PR (updated for commit f6620dd): https://ccv-website-next--pr15-feat-buttons-urv68kcj.web.app (expires Fri, 30 Aug 2024 16:04:20 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 809aa2d3a6cfe026c3c7417c932015a8f1d9ec89 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice and simple! I don't see any buttons on the preview... Are they used anywhere and I'm just bad at looking?
components/Button.tsx
Outdated
); | ||
} | ||
|
||
export function ButtonSecondary({ icon, children, ...delegated }: ButtonProps) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might just be a me thing, but I feel like I'd prefer an API thats a single Button
component with a variant
prop that's optional and is either "secondary"
or "tertiary"
. Do you prefer three different components?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🌠
This PR seeks to add three button functions within the Button.tsx component: