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

react-scroll-into-view

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-scroll-into-view - npm Package Compare versions

Comparing version 1.10.1 to 1.11.0

dist/index.cjs.js

11

package.json
{
"name": "react-scroll-into-view",
"version": "1.10.1",
"version": "1.11.0",
"description": "Simple React element that when clicked scrolls to any element on page",
"main": "dist/index.js",
"main": "./dist/index.cjs.js",
"module": "./dist/index.js",
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.cjs.js"
},
"files": [
"dist/index.js",
"dist/",
"react-scroll-into-view.d.ts"

@@ -9,0 +14,0 @@ ],

@@ -6,3 +6,3 @@ interface ScrollOptions {

}
interface ScrollIntoViewProps {
export interface ScrollIntoViewProps {
selector: string,

@@ -14,7 +14,8 @@ children: JSX.Element[] | JSX.Element,

className?: string,
scrollOptions?: ScrollOptions
scrollOptions?: ScrollOptions,
onClick?: (ev: MouseEvent) => unknown,
}
const ScrollIntoView: React.FunctionComponent<ScrollIntoViewProps> = props => { }
declare const ScrollIntoView: React.FunctionComponent<ScrollIntoViewProps>
export default ScrollIntoView
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