react-components
react-components copied to clipboard
Build <Tooltip /> using PopperJS 🏗
Summary
Currently our <Tooltip /> component is just a tiny wrapper around @tippy.js/react with styles and animation set.
@thegrinder pointed out fairly that we could build ourselves the styles using Popperjs ( which is what TippyJS uses internally ) and hence remove a dependency layer.
We would need to be careful to preserve the current behaviour and styling ( see related PRs )
Related
https://github.com/zopaUK/react-components/pull/164 https://github.com/zopaUK/react-components/pull/165