-
Notifications
You must be signed in to change notification settings - Fork 28
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: add universal chakra link component #243
Conversation
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.
Looks good to me, but ask others who are more active on the project to look as well.
One recommendation: you might want to wrap other clickable components as well for convenience rather than forcing buttons to use the as
prop - I did something like this for the CITJS website https://github.com/echobind/jamstack-ebook-website/blob/main/components/Link/index.tsx
@mcavaliere Cool idea, I like it 💯 I updated the PR to have a convenience wrapper for |
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.
Noticed lint and TypeScript errors which are causing the CI failure.
Description of PR that completes issue here...
Changes
Link
component for both dynamic and external links compatible with Next.js and Chakra UIas
casting (i.e.<Button as={Link} href="/" variant="navigation" />
)Checklist