To Top Button
Installation
- yarn
- pnpm
- npm
yarn add @mercell/to-top-button-react
pnpm add @mercell/to-top-button-react
npm install --save @mercell/to-top-button-react
The ToTopButton has necessary peerDependencies, please make sure that you have them in your project
"@mercell/direction-button-react": "^4.0.0",
"@mercell/tailwind": "^6.0.1",
"classnames": "^2.3.1",
"react": "^17.0.2"
Usage
Using the To Top Button component is as simple as importing it like this.
import { ToTopButton } from '@mercell/to-top-button-react';
Types, definitions, etc.
- Types
- Changelog
- Figma
ToTopButtonProps
ToTopButton has JSX.IntrinsicElements['button'] type.
Change Log - @mercell/to-top-button-react
This log was last generated on Fri, 11 Nov 2022 09:18:57 GMT and should not be manually modified.
5.0.0
Fri, 11 Nov 2022 09:18:57 GMT
Breaking changes
- New styling approach - use only tailwind classes, add tailwind-merge library
4.0.0
Thu, 15 Sep 2022 06:07:41 GMT
Breaking changes
- Migration to Tailwind3, React 18 and ViteJS from webpack.
3.0.5
Thu, 30 Jun 2022 10:57:49 GMT
Patches
- Package.json refactor, add test suite, more tests soon
3.0.4
Fri, 08 Apr 2022 10:19:50 GMT
Patches
- Bump dependencies
3.0.3
Mon, 28 Feb 2022 12:45:49 GMT
Patches
- Dependency update
3.0.2
Mon, 28 Feb 2022 10:55:32 GMT
Patches
- Bump typescript
3.0.1
Wed, 26 Jan 2022 16:19:19 GMT
Patches
- Move dependencies to peerDependencies to avoid duplication in installation process in project
- Adding the same peerDependencies to devDependencies
3.0.0
Wed, 15 Dec 2021 22:20:34 GMT
Breaking changes
- Update to match figma design
2.0.5
Fri, 12 Nov 2021 13:08:30 GMT
Patches
- Add @mercell/tailwind to devDeps to be always up to date
2.0.4
Fri, 05 Nov 2021 11:10:13 GMT
Patches
- Bump peerDependency
2.0.3
Thu, 04 Nov 2021 10:10:16 GMT
Patches
- Revert tailwind version
2.0.2
Wed, 03 Nov 2021 15:28:42 GMT
Patches
- react types >=17
2.0.1
Wed, 27 Oct 2021 12:53:13 GMT
Patches
- Gitignore fix
2.0.0
Mon, 18 Oct 2021 07:16:21 GMT
Breaking changes
- New local build process with webpack without storybook, add npmignore and update dependencies
1.0.4
Mon, 12 Jul 2021 10:50:09 GMT
Patches
- Updating dependencies
- Updating dependencies
1.0.3
Wed, 24 Mar 2021 10:17:01 GMT
Patches
- Enabling eslint
1.0.2
Tue, 23 Mar 2021 13:40:42 GMT
Patches
- Adding esm module export
1.0.1
Wed, 17 Mar 2021 10:01:28 GMT
Patches
- Adding readme
1.0.0
Thu, 25 Feb 2021 13:04:04 GMT
Breaking changes
- Adding component
No figma currently available.