pocket-tooltips
v1.0.7
Published
Simple text prompt bubble box. When the mouse is moved in, a prompt is displayed, but when it is moved out, it disappears
Downloads
8
Readme
#What is it ? Simple text prompt bubble box. When the mouse is moved in, a prompt is displayed, but when it is moved out, it disappears
#How to use ? ##First: npm i pocket-tooltips
##Second:
In your project, you need :
import ToolTips from 'pocket-tooltips'
import 'pocket-tooltips/lib/index.css'
##Last:
<ToolTips delay={300} color={black}>
<span>Hello World!</span>
</ToolTips>
#API Introduction : ##delay: Delay time for prompt box to appear ##color: The background color of this component