React Frequent Pages Component


The “React Frequent Pages” component displays the freqently visited pages widget. This component can be customized such as the number of items to show and the look and feel. This is my first contribution to React JS community, please feel free to post if you face any issues while using this component.

Installation

Include this component in other components or wherever you want to have this component.

and inject the component wherever you want to display the widget.

 

Customization

The number of items to display can be customized by using the ‘size’ props. The default number of items is 5.

The look and feel of this component can be customized by adding the styles for the following CSS classes in your style sheet.

 

 

Resources:

Download the NPM package here: https://www.npmjs.com/package/react-frequent-pages

Issues/Help : https://github.com/thamizhchelvan/React-Frequent-Pages/issues

 

Tags:

You may also like