Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 561 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 561 Bytes

Tooltip

Tooltips generally describe what a tool or feature does, or when or how to use it.

Read more about when and how to use the Tooltip component on the internal wiki.

Getting started

Install the package

yarn add @hig/tooltip

Import the component and CSS

import Tooltip from '@hig/tooltip';
import '@hig/tooltip/build/index.css';

Basic usage

<Tooltip anchorPoint="top-center" content="Testing tooltip">
  <Button title="Open Tooltip" />
</Tooltip>