| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
PatternFly-React preview: https://patternfly-react-pr-2849.surge.sh |
Sorry, something went wrong.
| }; | ||
|
|
||
| componentDidUpdate = (prevProps: ClipboardCopyProps, prevState: ClipboardCopyState) => { | ||
| if (prevProps.children !== this.props.children) { |
There was a problem hiding this comment.
This check will work because we technically only support children being a string (despite it's type being ReactNode).
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: This updates ClipboardCopy to update component if children changes
Additional issues: fixes #2846