-
Notifications
You must be signed in to change notification settings - Fork 844
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
Add support for node name prop to EuiTabbedContent, to bring it up to par with EuiTab #3100
Add support for node name prop to EuiTabbedContent, to bring it up to par with EuiTab #3100
Conversation
3916c2d
to
40aa816
Compare
@cjcenizal This PR is against a pretty old version of EUI. Looks like v14 or so. Looks good otherwise though, I see the current version still has a string there still. |
… par with EuiTab. - Update documentation to illustrate this capability.
40aa816
to
8776864
Compare
Thanks @snide, looks like I missed a git pull! |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3100/ |
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, @cjcenizal!
I came across this discrepancy last week and forgot to make an issue for it 👍
CHANGELOG.md
Outdated
@@ -15,6 +15,7 @@ | |||
- Added `useResizeObserver` hook ([#2991](https://github.com/elastic/eui/pull/2991)) | |||
- Added `showColumnSelector.allowHide` and `showColumnSelector.allowReorder` props to `EuiDataGrid` UI configuration ([#2993](https://github.com/elastic/eui/pull/2993)) | |||
- Added `EuiMark` component ([#3060](https://github.com/elastic/eui/pull/3060)) | |||
- Add support for node `name` prop in `EuiTabbedContent`, to bring it on par with `EuiTab` ([#3100](https://github.com/elastic/eui/pull/3100)) |
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.
I was very confused by the title of this PR, can you change the CL to
- Add support for node `name` prop in `EuiTabbedContent`, to bring it on par with `EuiTab` ([#3100](https://github.com/elastic/eui/pull/3100)) | |
- Changed `name` prop to `ReactNode` type in `EuiTabbedContent` ([#3100](https://github.com/elastic/eui/pull/3100)) |
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.
Small CL suggestion. LGTM
Co-Authored-By: Dave Snider <dave.snider@gmail.com>
Preview documentation changes for this PR: https://eui.elastic.co/pr_3100/ |
EuiTab
already supports this, so now users ofEuiTabbedContent
will also be able to provide a node for thename
prop.Checklist
Check against all themes for compatibility in both light and dark modesChecked in mobileChecked in IE11 and FirefoxChecked for accessibility including keyboard-only and screenreader modes