Socket
Book a DemoInstallSign in
Socket

@mr-scroll/react

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mr-scroll/react

The best custom scroll for the web. This is the react wrapper.

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

@mr-scroll/angular

npm License

The best custom scroll for the web.

This is the react wrapper. Check here (root of this repo) for an overview on mr-scroll.

Install

npm i @mr-scroll/core @mr-scroll/react

React 16 and above is supported.

Note: If you're using css-theming, check the css-theming support package.

Usage

Import the global CSS styles (for example in App.css):

@import '@mr-scroll/core/dist/styles.css';
import React, { Component } from 'react';
import Scroll from '@mr-scroll/react';

class Example extends Component {
  render() {
    return (
      <Scroll>
        Content
      </Scroll>
    );
  }
}

For more general usage info check the README in the root of this repo.

Keywords

custom

FAQs

Package last updated on 03 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts