| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
PatternFly-React preview: https://patternfly-react-pr-2681.surge.sh |
Sorry, something went wrong.
|
@karelhala sure and thank you for noticing 😃 🙏 |
Sorry, something went wrong.
There was a problem hiding this comment.
Looking good!
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good just a few comments. Can you also update the Tabs integration tests to test for JSX. You would have to update one of the tabs in the demo app
Sorry, something went wrong.
There was a problem hiding this comment.
@boaz0 I am fine with updating the tab to allow for elements other than text. My only request is that you change the first example that shows the icon in the tab to something more generic (a status perhaps?). The icon being used is for an external link which is not something I would recommend using a Tab for. This might be confusing or suggest a design pattern that we don't recommend in PatternFly. Thanks.
Sorry, something went wrong.
|
@dlabaj - addressed your comments :) thanks for the review btw. |
Sorry, something went wrong.
Signed-off-by: Boaz Shuster <boaz.shuster.github@gmail.com>
There was a problem hiding this comment.
Looking good! Thank you for adding the omit and correct type.
Sorry, something went wrong.
There was a problem hiding this comment.
Looks great. Thanks for the updates
Sorry, something went wrong.
There was a problem hiding this comment.
typo in MD file is causing test to fail.
Sorry, something went wrong.
| ## Simple tabs | ||
|
|
||
| import { Tabs, Tab, TabsVariant, TabContent } from '@patternfly/react-core'; | ||
| import { AddressBookIcon } from '@patternfly/react-icons`'; |
There was a problem hiding this comment.
looks like a typo here. This is causing the test to fail.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
|
Your changes have been released in:
Thanks for your contribution! 🎉 |
Sorry, something went wrong.
|
Thanks @tlabaj for fixing the typo! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
What:
closes #2623
In general Tab supported JSX elements the problem is that the title props type was set to string. In addition, Tab didn't use the title prop at all, which was confusing, because it was passed as a child in the Tabs component. So what I did was removing title from props.
//cc @xeviknal