Skip to content

Rajeshkumaran/react-custom-tooltip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-ToolTip

A small react library for creating a customised Tooltip

Usage

First, install the package using npm:

npm i react-custom-tooltip

Then, require the package and use it like so:

import ToolTip from 'react-custom-tooltip';

<ToolTip text='Hello'/>

###Props 1. text="hello" 2.funComponent=()=>{} //for setting functional component 3.ClassComponent = {SomeclassComponent}

###Styling

.tooltip-container{ //for the main container } .tooltip-content{ //for content }

.tooltip-arrow{ //for positioning arrow }

License

MIT License

About

A small customised react tooltip library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published