Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: change default export to named function (#545)
Frameworks like Next.js complain about anonymous export default functions, e.g. `Anonymous function declarations cause Fast Refresh to not preserve local component state.` Versions except for v3/5 already use named exports, so update v3/5 to do the same.
- Loading branch information