├── .eslintrc.json ├── .github └── workflows │ └── playwright.yml ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── examples ├── .gitignore ├── index.html ├── package-lock.json ├── package.json ├── public │ └── vite.svg ├── src │ ├── App.css │ ├── App.tsx │ ├── assets │ │ └── react.svg │ ├── index.css │ ├── main.tsx │ └── vite-env.d.ts ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts ├── package.json ├── playwright.config.ts ├── rollup.config.js ├── src ├── index.tsx └── styles.css ├── tests └── e2e.test.ts └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/playwright.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/.github/workflows/playwright.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/README.md -------------------------------------------------------------------------------- /examples/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/examples/.gitignore -------------------------------------------------------------------------------- /examples/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/examples/index.html -------------------------------------------------------------------------------- /examples/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/examples/package-lock.json -------------------------------------------------------------------------------- /examples/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/examples/package.json -------------------------------------------------------------------------------- /examples/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/examples/public/vite.svg -------------------------------------------------------------------------------- /examples/src/App.css: -------------------------------------------------------------------------------- 1 | .override { 2 | background-color: red !important; 3 | } 4 | -------------------------------------------------------------------------------- /examples/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/examples/src/App.tsx -------------------------------------------------------------------------------- /examples/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/examples/src/assets/react.svg -------------------------------------------------------------------------------- /examples/src/index.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/examples/src/main.tsx -------------------------------------------------------------------------------- /examples/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /examples/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/examples/tsconfig.json -------------------------------------------------------------------------------- /examples/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/examples/tsconfig.node.json -------------------------------------------------------------------------------- /examples/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/examples/vite.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/package.json -------------------------------------------------------------------------------- /playwright.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/playwright.config.ts -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/src/index.tsx -------------------------------------------------------------------------------- /src/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/src/styles.css -------------------------------------------------------------------------------- /tests/e2e.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/tests/e2e.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HermanNygaard/react-scroll-to-top/HEAD/tsconfig.json --------------------------------------------------------------------------------