office-ui-fabric-react
Version: 
Reusable React components for building experiences for Office 365.
1 lines • 770 B
JavaScript
define([], function() { return "/* tslint:disable:no-unused-variable */\r\nimport * as React from 'react';\r\n/* tslint:enable:no-unused-variable */\r\nimport { BaseComponent } from '../../../../common/BaseComponent';\r\nimport { DirectionalHint } from '../../../../common/DirectionalHint';\r\n\r\nimport {\r\n  TooltipHost,\r\n  TooltipDelay,\r\n  Button\r\n} from '../../../../index';\r\n\r\nexport class TooltipBottomExample extends BaseComponent<any, any> {\r\n\r\n  public render() {\r\n    return (\r\n      <TooltipHost content='This is the tooltip' delay={ TooltipDelay.zero } id='bottomID' directionalHint={ DirectionalHint.bottomCenter }>\r\n        <Button aria-describedby='bottomID'>Hover Over Me</Button>\r\n      </TooltipHost>\r\n    );\r\n  }\r\n}"; });