1.0.11 • Published 5 years ago

react-styled-clickable-progress-bar v1.0.11

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

react-styled-clickable-progress-bar

React component that creates a fixed, clickable, progress bar. It is built using React hooks.

Click on anywhere on the progress bar to automatically scroll the page.

Install

yarn add react-styled-clickable-progress-bar
npm install react-styled-clickable-progress-bar

Usage

Default Progress Bar

import React from "react";
import ProgressBar from "react-styled-clickable-progress-bar";

const Index = props => <ProgressBar />

export default Index;

Customize with styled-components

import React from "react";
import styled from 'styled-components'
import ProgressBar from "react-styled-clickable-progress-bar";

const Scroll = styled(ProgressBar)`
  top: 40px;
`

const Index = props => <Scroll />

export default Index;

Custom Settings

import React from "react";
import ProgressBar from "react-styled-clickable-progress-bar";

const Index = props => <Scroll top={"40px"}/>

export default Index;

Configuration

<ProgressBar
  top="0px"
  left="0px"
  height="5px"
  color="black"
>
1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago