Releases: huozhi/react-overlay-trigger
Releases · huozhi/react-overlay-trigger
v3.0.0
V3
Redesign the API usePopover
to a hook with much simpler usage which has easier mindset of usage
import { usePopover } from 'react-overlay-trigger'
const App = () => {
const { popover, triggerProps } = usePopover({
placement: 'top',
hoverToggle: true,
})
return (
<div>
{popover}
<button {...triggerProps}>hover me</button>
</div>
)
}
Checkout the readme and website for more details
v2.0.1
v2.0.0
Core changes
- Upgrade bundler to output assets from es5 to es2018
- Remove unused utils
Document changes
- Use next.js for docs
Full Changelog: v1.2.0...v2.0.0
v1.2.0
What's Changed
- build(deps): bump nanoid from 3.1.29 to 3.2.0 by @dependabot in #43
- build(deps): bump minimist from 1.2.5 to 1.2.6 by @dependabot in #44
- Migrate to react hooks by @huozhi in #45
- bump dev deps by @huozhi in #46
Full Changelog: v1.1.1...v1.2.0