Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gmana/react-go-top

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gmana/react-go-top - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

index.esm.css

2

index.d.ts

@@ -1,1 +0,1 @@

export * from './lib/go-top';
export { default as GoTop } from './lib/go-top';

@@ -0,1 +1,2 @@

/// <reference types="react" />
import './go-top.css';

@@ -5,3 +6,3 @@ interface GoTopProps {

}
export declare const GoTop: ({ startShow }: GoTopProps) => JSX.Element;
export declare const GoTop: ({ startShow }: GoTopProps) => false | JSX.Element;
export default GoTop;
{
"name": "@gmana/react-go-top",
"version": "0.0.6",
"version": "0.0.7",
"author": {

@@ -19,3 +19,4 @@ "name": "Sun Sreng",

"react",
"go-top"
"go-top",
"nextjs"
],

@@ -26,7 +27,7 @@ "publishConfig": {

"peerDependencies": {
"react": ">=16"
"react": "^16.8.0 || ^17 || ^18"
},
"main": "./go-top.umd.js",
"module": "./go-top.esm.js",
"main": "./index.umd.js",
"module": "./index.esm.js",
"typings": "./index.d.ts"
}
# React Go Top
> a tiny go top component
## Install
- `npm i @gmana/react-go-top`
or
- `yarn add @gmana/react-go-top`
```bash
npm i @gmana/react-go-top or
yarn add @gmana/react-go-top
```
## Usage
```tsx
```bash
import { GoTop } from '@gmana/react-go-top';
import '@gmana/react-go-top/go-top.esm.css';
```
```tsx
<GoTop />

@@ -21,7 +20,5 @@ // or

```
## API
| Property | Default |
| --------- | :-----: |
| startShow | 0 |
| :-------- | :-----: |
| startShow | 0 |
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc