-
Notifications
You must be signed in to change notification settings - Fork 106
US188751 Hide-show component #259
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
Conversation
* set variants for the rh-tabs
…51-hide-show-component
…51-hide-show-component
…lements/rhelements into US188751-hide-show-component
…1-hide-show-component
… added knobs to accordion storybook
* fixed hide-show tab click bug * cleaned up tab sass
|
@chrisdo1 @castastrophe I'm getting this error in storybook - are you? |
@starryeyez024 Yep, I got the same error. Here's what I did:
|
…ternfly/patternfly-elements into US188751-hide-show-component
…to US188751-hide-show-component
…ternfly/patternfly-elements into US188751-hide-show-component
| @@ -0,0 +1,116 @@ | |||
| /* | |||
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.
@chrisdo1 The copyright is no longer needed at the top of the src/pfe-hide-show.js file. You can delete the entire comment here.
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.
@castastrophe I have removed the comment.
castastrophe
left a comment
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! I added a couple minor issues that we can go back and look at later.
…to US188751-hide-show-component
|
|
||
| return ` | ||
| <section> | ||
| <h2>Hide-Show</h2> |
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.
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.
@starryeyez024 fixed. Thanks!
kylebuch8
left a comment
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.
Luddite Gary Technological Misbeliever
This component toggles between the tabs and the accordion components depending on the space available. If the space is smaller than 768px, the accordion is rendered; otherwise, the tabs are rendered.