Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

essence-tooltip

1.0.6 • Public • Published

Essence Tooltip - Tooltip component

Options:

  • target: string - target ID or element class name or element tag (see example below)
  • visible: true - show the tooltip or false (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>
 

install

npm i essence-tooltip

Downloadsweekly downloads

1

version

1.0.6

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
Report a vulnerability