UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

33 lines 2.98 kB
import * as tslib_1 from "tslib"; import * as React from 'react'; import { ExampleCard, ComponentPage, PageMarkdown, PropertiesTableSet } from '@uifabric/example-app-base'; import { FocusZonePhotosExample } from './examples/FocusZone.Photos.Example'; import { FocusZoneListExample } from './examples/FocusZone.List.Example'; import { FocusZoneDisabledExample } from './examples/FocusZone.Disabled.Example'; import { FocusZoneTabbableExample } from './examples/FocusZone.Tabbable.Example'; var FocusZonePhotosExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/FocusZone/examples/FocusZone.Photos.Example.tsx'); var FocusZoneListExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/FocusZone/examples/FocusZone.List.Example.tsx'); var FocusZoneDisabledExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/FocusZone/examples/FocusZone.Disabled.Example.tsx'); var FocusZoneTabbableCode = require('!raw-loader!office-ui-fabric-react/src/components/FocusZone/examples/FocusZone.Tabbable.Example.tsx'); var FocusZonePage = /** @class */ (function (_super) { tslib_1.__extends(FocusZonePage, _super); function FocusZonePage() { return _super !== null && _super.apply(this, arguments) || this; } FocusZonePage.prototype.render = function () { return (React.createElement(ComponentPage, { title: 'FocusZone', componentName: 'FocusZoneExample', componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/FocusZone', exampleCards: React.createElement("div", null, React.createElement(ExampleCard, { title: 'Non-uniform photos within bidirectional FocusZone', code: FocusZonePhotosExampleCode }, React.createElement(FocusZonePhotosExample, null)), React.createElement(ExampleCard, { title: 'Nesting FocusZones in list rows', code: FocusZoneListExampleCode }, React.createElement(FocusZoneListExample, null)), React.createElement(ExampleCard, { title: 'Disabled FocusZone', code: FocusZoneDisabledExampleCode }, React.createElement(FocusZoneDisabledExample, null)), React.createElement(ExampleCard, { title: 'Tabbable FocusZone', code: FocusZoneTabbableCode }, React.createElement(FocusZoneTabbableExample, null))), allowNativeProps: true, propertiesTables: React.createElement(PropertiesTableSet, { sources: [ require('!raw-loader!office-ui-fabric-react/src/components/FocusZone/FocusZone.types.ts') ] }), overview: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/FocusZone/docs/FocusZoneOverview.md')), isHeaderVisible: this.props.isHeaderVisible })); }; return FocusZonePage; }(React.Component)); export { FocusZonePage }; //# sourceMappingURL=FocusZonePage.js.map