1.1.2 • Published 7 years ago

minimap-react v1.1.2

Weekly downloads
84
License
ISC
Repository
github
Last release
7 years ago

Minimap

A preview of full webpage or its DOM element with flexible positioning and navigation support

*DEMO*

Note

its under development and can not be used in production

Installation

To install this Component, run yarn add minimap-react or npm install minimap-react.

Usage

to use this component in your project, just add the following

import React from 'react';
import Minimap from 'react-minimap';
import "minimap-react/lib/react-minimap.css";

class App extends Component {
    render() {
        return (
               <Minimap 
                    rootId="your div id name"
                    position="right" 
                    smoothScroll={true} 
                    smoothScrollDelay={200} 
                    toggle={true}/>
                );
    }
}

export default App;
1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago