bsr-tooltip
v2.2.71
Published
React component tooltip
Downloads
4
Readme
bsr-tooltip
React component tooltip
Install
npm install --save bsr-tooltip
Usage
import {useRef} from "react";
import {useToolTip} from 'bsr-tooltip'
import 'bsr-tooltip/dist/index.css'
export default function P11_1 (){
const mRefDiv=useRef<HTMLDivElement>(null)
useToolTip(mRefDiv,'Simple Text')
return <div ref={mRefDiv} style={{padding:50,background:'grey',width:0,height:0}}></div>
}
License
MIT © ionson100