UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

57 lines 3.12 kB
import * as React from 'react'; import { TooltipCustomExample } from './examples/Tooltip.Custom.Example'; import { TooltipBasicExample } from './examples/Tooltip.Basic.Example'; import { TooltipInteractiveExample } from './examples/Tooltip.Interactive.Example'; import { TooltipOverflowExample } from './examples/Tooltip.Overflow.Example'; import { TooltipNoScrollExample } from './examples/Tooltip.NoScroll.Example'; import { TooltipStatus } from './Tooltip.checklist'; import './TooltipPage.global.scss'; var TooltipBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Tooltip/examples/Tooltip.Basic.Example.tsx'); var TooltipBasicExampleCodepen = require('!raw-loader!office-ui-fabric-react/lib/codepen/components/Tooltip/Tooltip.Basic.Example.Codepen.txt'); 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'); 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', componentStatus: TooltipStatus, examples: [ { title: 'Default Tooltip', code: TooltipBasicExampleCode, view: React.createElement(TooltipBasicExample, null), codepenJS: TooltipBasicExampleCodepen }, { title: 'Tooltip with list', 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) } ], propertiesTablesSources: [ require('!raw-loader!office-ui-fabric-react/src/components/Tooltip/Tooltip.types.ts'), require('!raw-loader!office-ui-fabric-react/src/components/Tooltip/TooltipHost.types.ts') ], 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