UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

39 lines (37 loc) 4.06 kB
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var React = require('react'); var index_1 = require('../../../index'); var index_2 = require('../../components/index'); var Panel_SmallRight_Example_1 = require('./examples/Panel.SmallRight.Example'); var Panel_SmallLeft_Example_1 = require('./examples/Panel.SmallLeft.Example'); var Panel_SmallFluid_Example_1 = require('./examples/Panel.SmallFluid.Example'); var Panel_Medium_Example_1 = require('./examples/Panel.Medium.Example'); var Panel_Large_Example_1 = require('./examples/Panel.Large.Example'); var Panel_LargeFixed_Example_1 = require('./examples/Panel.LargeFixed.Example'); var Panel_ExtraLarge_Example_1 = require('./examples/Panel.ExtraLarge.Example'); var Panel_LightDismiss_Example_1 = require('./examples/Panel.LightDismiss.Example'); var PanelSmallRightExampleCode = require('./examples/Panel.SmallRight.Example.tsx'); var PanelSmallLeftExampleCode = require('./examples/Panel.SmallLeft.Example.tsx'); var PanelSmallFluidExampleCode = require('./examples/Panel.SmallFluid.Example.tsx'); var PanelMediumExampleCode = require('./examples/Panel.Medium.Example.tsx'); var PanelLargeExampleCode = require('./examples/Panel.Large.Example.tsx'); var PanelLargeFixedExampleCode = require('./examples/Panel.LargeFixed.Example.tsx'); var PanelExtraLargeExampleCode = require('./examples/Panel.ExtraLarge.Example.tsx'); var PanelLightDismissExampleCode = require('./examples/Panel.LightDismiss.Example.tsx'); var PanelPage = (function (_super) { __extends(PanelPage, _super); function PanelPage() { _super.apply(this, arguments); } PanelPage.prototype.render = function () { return (React.createElement("div", {className: 'ms-PanelPage'}, React.createElement("h1", {className: 'ms-font-xxl'}, "Panel"), React.createElement("div", null, React.createElement(index_1.Link, {target: '_blank', href: 'http://dev.office.com/fabric/components/panel'}, "Panels"), React.createElement("span", null, " are used to render an org chart, and other components.")), React.createElement("h2", {className: 'ms-font-xl'}, "Examples"), React.createElement(index_2.ExampleCard, {title: 'Panel - Small Panel, Anchored Right, Fixed Width', code: PanelSmallRightExampleCode}, React.createElement(Panel_SmallRight_Example_1.PanelSmallRightExample, null)), React.createElement(index_2.ExampleCard, {title: 'Panel - Small Panel, Anchored Left, Fixed Width', code: PanelSmallLeftExampleCode}, React.createElement(Panel_SmallLeft_Example_1.PanelSmallLeftExample, null)), React.createElement(index_2.ExampleCard, {title: 'Panel - Small Panel, Full Screen, Fluid Width', code: PanelSmallFluidExampleCode}, React.createElement(Panel_SmallFluid_Example_1.PanelSmallFluidExample, null)), React.createElement(index_2.ExampleCard, {title: 'Panel - Medium', code: PanelMediumExampleCode}, React.createElement(Panel_Medium_Example_1.PanelMediumExample, null)), React.createElement(index_2.ExampleCard, {title: 'Panel - Large', code: PanelLargeExampleCode}, React.createElement(Panel_Large_Example_1.PanelLargeExample, null)), React.createElement(index_2.ExampleCard, {title: 'Panel - LargeFixed', code: PanelLargeFixedExampleCode}, React.createElement(Panel_LargeFixed_Example_1.PanelLargeFixedExample, null)), React.createElement(index_2.ExampleCard, {title: 'Panel - Extra Large', code: PanelExtraLargeExampleCode}, React.createElement(Panel_ExtraLarge_Example_1.PanelExtraLargeExample, null)), React.createElement(index_2.ExampleCard, {title: 'Panel - Light Dismiss', code: PanelLightDismissExampleCode}, React.createElement(Panel_LightDismiss_Example_1.PanelLightDismissExample, null)), React.createElement(index_2.PropertiesTableSet, {componentName: 'Panel'}))); }; return PanelPage; }(React.Component)); exports.PanelPage = PanelPage; //# sourceMappingURL=PanelPage.js.map