├── .eslintignore ├── .eslintrc.json ├── .gitignore ├── .storybook └── main.js ├── README.md ├── package.json ├── prettier.config.js ├── src ├── index.tsx ├── stories │ ├── WithSmooth.stories.tsx │ └── WithoutSmooth.stories.tsx └── useWindowSize.ts ├── tsconfig.json └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | /*.js 3 | storybook-static -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilhermerodz/react-smooth-scrolling/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | storybook-static 3 | dist -------------------------------------------------------------------------------- /.storybook/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilhermerodz/react-smooth-scrolling/HEAD/.storybook/main.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilhermerodz/react-smooth-scrolling/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilhermerodz/react-smooth-scrolling/HEAD/package.json -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilhermerodz/react-smooth-scrolling/HEAD/prettier.config.js -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilhermerodz/react-smooth-scrolling/HEAD/src/index.tsx -------------------------------------------------------------------------------- /src/stories/WithSmooth.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilhermerodz/react-smooth-scrolling/HEAD/src/stories/WithSmooth.stories.tsx -------------------------------------------------------------------------------- /src/stories/WithoutSmooth.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilhermerodz/react-smooth-scrolling/HEAD/src/stories/WithoutSmooth.stories.tsx -------------------------------------------------------------------------------- /src/useWindowSize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilhermerodz/react-smooth-scrolling/HEAD/src/useWindowSize.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilhermerodz/react-smooth-scrolling/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilhermerodz/react-smooth-scrolling/HEAD/yarn.lock --------------------------------------------------------------------------------