diff --git a/examples/react/src/App.tsx b/examples/react/src/App.tsx index 5c2a9b6..f17971b 100644 --- a/examples/react/src/App.tsx +++ b/examples/react/src/App.tsx @@ -1,7 +1,7 @@ import { OverlayScrollbarsComponent } from 'overlayscrollbars-react'; import logo from './logo.svg'; -function App() { +const App = () => { return (
); -} +}; export default App; diff --git a/packages/overlayscrollbars-react/CHANGELOG.md b/packages/overlayscrollbars-react/CHANGELOG.md index db2adf7..4e157d2 100644 --- a/packages/overlayscrollbars-react/CHANGELOG.md +++ b/packages/overlayscrollbars-react/CHANGELOG.md @@ -6,7 +6,7 @@ Added the possibility to `defer` the initialization to a point in time when the browser is idle. (or to the next frame if `window.requestIdleCallback` is not supported) - `OverlayScrollbarsComponent` accepts now the `defer` property -- `useOverlayScrollbars` params accept now the `defer` key +- `useOverlayScrollbars` params accept now the `defer` property - `useOverlayScrollbars` will now always try to destroy the instance if the component unmounts. ### Breaking Changes diff --git a/packages/overlayscrollbars-vue/CHANGELOG.md b/packages/overlayscrollbars-vue/CHANGELOG.md index e730bca..15aa916 100644 --- a/packages/overlayscrollbars-vue/CHANGELOG.md +++ b/packages/overlayscrollbars-vue/CHANGELOG.md @@ -6,7 +6,7 @@ Added the possibility to `defer` the initialization to a point in time when the browser is idle. (or to the next frame if `window.requestIdleCallback` is not supported) - `OverlayScrollbarsComponent` accepts now the `defer` property -- `useOverlayScrollbars` params accept now the `defer` key +- `useOverlayScrollbars` params accept now the `defer` property - `useOverlayScrollbars` will now always try to destroy the instance if the component unmounts. ### Breaking Changes