| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Is there any reason why you changed single quotes to double quotes? Other than that, it looks good!
Sorry, something went wrong.
|
@boaz0 the patternfly core package has been updated. |
Sorry, something went wrong.
|
@karelhala 😱 for some reason my vim-prettier got crazy. |
Sorry, something went wrong.
|
PatternFly-React preview: https://patternfly-react-pr-2957.surge.sh |
Sorry, something went wrong.
|
@mcoker ok I updated the PR, I also temporarily (just for the sake of this review) added the loading state and the no-match state to the examples. Also, I am assuming that the component that will be wrapped inside the div will get the same props: ('size', 'color' and 'title') as the icon component. Can I assume that or we're not sure how it's going to look like. At the worst case, we may create a new component that will support both wrapping general components whether it's a general React component or an Patternfly Icon component |
Sorry, something went wrong.
There was a problem hiding this comment.
Looks like vim-prettier got crazy again and changed single quotes to double quotes. Other than that still looking fine.
Sorry, something went wrong.
|
Thanks @karelhala I guess vim-prettier doesn't love me 😭 - I am going to turn it off. May it rest in peace 🙏 |
Sorry, something went wrong.
|
@boaz0 thanks! My expectation is that if pf-c-empty-state__icon is used as a container, you can put whatever you want in it and color, size, title, etc no longer apply since it's now a <div> and not an <svg>. I would expect it to work similarly to pf-c-empty-state__primary. |
Sorry, something went wrong.
Signed-off-by: Boaz Shuster <boaz.shuster.github@gmail.com>
|
@mcoker thanks. We should figure out a better API (probably will introduce a breaking change) to support one simple prop for both icon and component under the empty state icon. @karelhala what do you think? have ideas? |
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good to me!
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.
| Back | FazBrowse Home | New Git URL |
What:
closes #2929
I wanted to add the demos (loading state table and empty state table) but I couldn't because: