Package Exports
- essence-tooltip
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (essence-tooltip) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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>