How to use @instructure/ui-tooltip - 2 common examples

To help you get started, we’ve selected a few @instructure/ui-tooltip examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github instructure / instructure-ui / packages / ui-pill / src / Pill / locator.js View on Github external
findTooltipContent: async (...args) => {
    const { element, selector, options } = parseQueryArguments(...args)
    const tooltip = await TooltipLocator.find(element, options)
    return tooltip ? tooltip.findContent(selector, options) : null
  }
})

@instructure/ui-tooltip

A component for showing small text-only overlays on hover/focus.

MIT
Latest version published 1 day ago

Package Health Score

84 / 100
Full package analysis

Similar packages