Skip to content

Releases: viralganatra/react-clickoutside

v2.0.0: Merge pull request #2 from viralganatra/feature/version2

02 Oct 12:50
Compare
Choose a tag to compare
  • Rewritten to introduce new way of using this library. In addition to the existing higher order component, this library now exports a new class, built using the 'function as child component' pattern
  • The higher order component now accepts a params object as a function, meaning any params can be added to the container div
  • The build is now done via Rollup. In addition, two packages are distributed; one for Common JS and one for ESM Modules