UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

64 lines 3.6 kB
import * as React from 'react'; import { TooltipCustomExample } from './examples/Tooltip.Custom.Example'; import { TooltipBasicExample } from './examples/Tooltip.Basic.Example'; import { TooltipDisplayExample } from './examples/Tooltip.Display.Example'; import { TooltipInteractiveExample } from './examples/Tooltip.Interactive.Example'; import { TooltipOverflowExample } from './examples/Tooltip.Overflow.Example'; import { TooltipNoScrollExample } from './examples/Tooltip.NoScroll.Example'; import { TooltipAbsolutePositionExample } from './examples/Tooltip.Absolute.Position.Example'; var TooltipBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Tooltip/examples/Tooltip.Basic.Example.tsx'); var TooltipDisplayExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Tooltip/examples/Tooltip.Display.Example.tsx'); var TooltipBasicExampleCodepen = require('!@uifabric/codepen-loader!office-ui-fabric-react/src/components/Tooltip/examples/Tooltip.Basic.Example.tsx'); var TooltipCustomExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Tooltip/examples/Tooltip.Custom.Example.tsx'); var TooltipInteractiveExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Tooltip/examples/Tooltip.Interactive.Example.tsx'); var TooltipOverflowExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Tooltip/examples/Tooltip.Overflow.Example.tsx'); var TooltipNoScrollExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Tooltip/examples/Tooltip.NoScroll.Example.tsx'); var TooltipAbsolutePositionExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Tooltip/examples/Tooltip.Absolute.Position.Example.tsx'); export var TooltipPageProps = { title: 'Tooltip', componentName: 'Tooltip', componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/Tooltip', examples: [ { title: 'Default Tooltip', code: TooltipBasicExampleCode, view: React.createElement(TooltipBasicExample, null), codepenJS: TooltipBasicExampleCodepen }, { title: 'Tooltip wrapping inline or inline-block elements', code: TooltipDisplayExampleCode, view: React.createElement(TooltipDisplayExample, null) }, { title: 'Tooltip with list of links', code: TooltipCustomExampleCode, view: React.createElement(TooltipCustomExample, null) }, { title: 'Tooltip with a closing delay', code: TooltipInteractiveExampleCode, view: React.createElement(TooltipInteractiveExample, null) }, { title: 'Tooltip only on overflow', code: TooltipOverflowExampleCode, view: React.createElement(TooltipOverflowExample, null) }, { title: 'Tooltip without scroll (improves performance)', code: TooltipNoScrollExampleCode, view: React.createElement(TooltipNoScrollExample, null) }, { title: 'Tooltip with position absolute', code: TooltipAbsolutePositionExampleCode, view: React.createElement(TooltipAbsolutePositionExample, null) } ], overview: require('!raw-loader!office-ui-fabric-react/src/components/Tooltip/docs/TooltipOverview.md'), isHeaderVisible: true, isFeedbackVisible: true, allowNativeProps: true }; //# sourceMappingURL=Tooltip.doc.js.map