-
Notifications
You must be signed in to change notification settings - Fork 841
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
Adding href prop to EuiTab #2275
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.
Thanks for converting to TS at the same time! Just have a couple comments.
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.
LGTM! Would like @thompsongl to double-check the TS.
@miukimiu I made a PR for you to describe some TS conversion things: elizabetdev#1 If you want to walk through anything or just ask questions in the thread, I'm available for both. Overall, nice job! |
Oh yeah, and can you add a jest test specifically for supplying an |
EuiTab href
@thompsongl thanks for the PR with the descriptions. It was really helpful. |
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.
Per @cchaos last comment, let's add a snapshot test for when href
is in use.
Ready to go after that
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.
🎉
* Tab comp in typescript, href prop and example * Improving code based on comments * Tab comp in typescript, href prop and example * Improving code based on comments * Updating changelog * typescripting * Adding a snapshot test for when href is in use.
Summary
Fixes #1844 by adding the href prop to EuiTab. This PR also includes:
Checklist