@zendeskgarden/react-tooltips
TypeScript icon, indicating that this package has built-in type declarations

8.76.1 • Public • Published

@zendeskgarden/react-tooltips npm version

This package includes presentation components and render prop containers relating to Tooltips in the Garden Design System.

Installation

npm install @zendeskgarden/react-tooltips

# Peer Dependencies - Also Required
npm install react react-dom styled-components @zendeskgarden/react-theming

Usage

TooltipElement

Standard tooltip usages.

import { ThemingProvider } from '@zendeskgarden/react-theming';
import { Tooltip } from '@zendeskgarden/react-tooltips';

/**
 * Place a `ThemeProvider` at the root of your React application
 */
<ThemeProvider>
  <Tooltip content="This is a small tooltip">
    <button>Trigger top placement</button>
  </Tooltip>
</ThemeProvider>;

/@zendeskgarden/react-tooltips/

    Package Sidebar

    Install

    npm i @zendeskgarden/react-tooltips

    Weekly Downloads

    6,027

    Version

    8.76.1

    License

    Apache-2.0

    Unpacked Size

    48.6 kB

    Total Files

    25

    Last publish

    Collaborators

    • zendesk-garden