office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
1 lines • 916 B
JavaScript
define([], function() { return "import * as React from 'react';\r\nimport { TooltipHost } from './TooltipHost';\r\nimport { ITooltipProps, TooltipDelay } from './Tooltip.Props';\r\nimport { DirectionalHint } from '../../common/DirectionalHint';\r\n\r\n/**\r\n * Tooltip component props.\r\n */\r\n\r\nexport interface ITooltipHostProps extends React.HTMLProps<HTMLDivElement | TooltipHost> {\r\n /**\r\n * Properties to pass through for Callout, reference detail properties in ITooltipProps\r\n */\r\n calloutProps?: ITooltipProps;\r\n\r\n /**\r\n * Length of delay\r\n * @default medium\r\n */\r\n delay?: TooltipDelay;\r\n\r\n /**\r\n * String to be passed to the tooltip\r\n */\r\n content?: string;\r\n\r\n /**\r\n * Indicator of how the tooltip should be anchored to its targetElement.\r\n * @default DirectionalHint.topCenter\r\n */\r\n directionalHint?: DirectionalHint;\r\n}"; });