Breaking changes
For react
and preact
the component is now a named import:
-- import SelectionArea, {SelectionEvent} from '@viselect/react';
++ import {SelectionArea, SelectionEvent} from '@viselect/react';
What's Changed
- The minimum version for react is now v19 due to breaking changes in react, see #230. Use an older
@viselect/react
version if you're still using react <19.
Full Changelog: v3.7.1...v3.8.0