A small react library for creating a customised Tooltip
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 }
MIT License