Package Exports
- @instructure/ui-tooltip
- @instructure/ui-tooltip/lib/Tooltip
- @instructure/ui-tooltip/lib/Tooltip/locator
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@instructure/ui-tooltip) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
category: packages
ui-tooltip
A component for showing small text-only overlays on hover/focus.
Installation
yarn add @instructure/ui-tooltip
Usage
For detailed usage and documentation, see Tooltip.
import React from 'react'
import { Tooltip } from '@instructure/ui-tooltip'
const MyTooltip = () => {
return (
<Tooltip renderTip="Hello world">
Hover or focus me
</Popover>
)
}