essence-tooltip
v1.0.6
Published
Essence Tooltip - Tooltip component
Downloads
30
Keywords
Readme
Essence Tooltip - Tooltip component
Options:
- target:
string
- target ID or element class name or element tag (see example below) - visible:
true
- show the tooltip orfalse
(default) - hide the tooltip
How to use
import Tooltip from 'essence-tooltip';
<Tooltip target={'#tooltipButton'} visible={true}>
Button tooltip
</Tooltip>
<Tooltip target={'.buttonTooltip'} visible={true}>
Button tooltip
</Tooltip>
<Tooltip target={'button'} visible={true}>
Button tooltip
</Tooltip>