Skip to content

Repository files navigation

React-Basic-Scroll

A ReactJS components for basicScroll

basicscroll.electerious.com

Installation

yarn add react-basic-scroll
npm i react-basic-scroll

Basic Usage

import*asReactfrom"react";import{ReactBasicScroll}from"react-basic-scroll";exportconstAppextendsReact.Component{render(){constconfig={from: 'top-top',to: 'bottom-bottom',props: {'--opacity': {from: 0.1,to: 0.99}}};return(<ReactBasicScrollconfig={config}><h1style="{{opacity: 'var(--opacity)'}}">Hello world!</h1></ReactBasicScroll>);};}

Props

config

An object defines the configuration for then element, see here.

About

React wrapper component for basicScroll

Resources

Stars

14 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages