包详细信息

@igloo-ui/tooltip

gsoft-inc686Apache-2.03.5.7

Tooltips are floating labels that briefly explain the function of a user interface element. They can be triggered when users hover, focus, tap, or click.

自述文件

Tooltip

Tooltips are floating labels that briefly explain the function of a user interface element. They can be triggered when users hover, focus, tap, or click.

<Example is="custom" /> <ReferenceLinks is="custom" />

Installation

To install @igloo-ui/tooltip in your project, you will need to run the following command using npm:

npm install @igloo-ui/tooltip

If you prefer Yarn, use the following command instead:

yarn add @igloo-ui/tooltip

Usage

Then to use the component in your code just import it!

import Tooltip from '@igloo-ui/tooltip';

<Tooltip content="Lorem ipsum dolor">Element</Tooltip>;