UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

30 lines 3.35 kB
define(["require", "exports", "tslib", "react", "@uifabric/example-app-base", "./examples/FocusZone.Photos.Example", "./examples/FocusZone.List.Example", "./examples/FocusZone.Disabled.Example", "./examples/FocusZone.Tabbable.Example"], function (require, exports, tslib_1, React, example_app_base_1, FocusZone_Photos_Example_1, FocusZone_List_Example_1, FocusZone_Disabled_Example_1, FocusZone_Tabbable_Example_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); 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(example_app_base_1.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(example_app_base_1.ExampleCard, { title: 'Non-uniform photos within bidirectional FocusZone', code: FocusZonePhotosExampleCode }, React.createElement(FocusZone_Photos_Example_1.FocusZonePhotosExample, null)), React.createElement(example_app_base_1.ExampleCard, { title: 'Nesting FocusZones in list rows', code: FocusZoneListExampleCode }, React.createElement(FocusZone_List_Example_1.FocusZoneListExample, null)), React.createElement(example_app_base_1.ExampleCard, { title: 'Disabled FocusZone', code: FocusZoneDisabledExampleCode }, React.createElement(FocusZone_Disabled_Example_1.FocusZoneDisabledExample, null)), React.createElement(example_app_base_1.ExampleCard, { title: 'Tabbable FocusZone', code: FocusZoneTabbableCode }, React.createElement(FocusZone_Tabbable_Example_1.FocusZoneTabbableExample, null))), allowNativeProps: true, propertiesTables: React.createElement(example_app_base_1.PropertiesTableSet, { sources: [ require('!raw-loader!office-ui-fabric-react/src/components/FocusZone/FocusZone.types.ts') ] }), overview: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/FocusZone/docs/FocusZoneOverview.md')), isHeaderVisible: this.props.isHeaderVisible })); }; return FocusZonePage; }(React.Component)); exports.FocusZonePage = FocusZonePage; }); //# sourceMappingURL=FocusZonePage.js.map