UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

29 lines 3.09 kB
import * as tslib_1 from "tslib"; import * as React from 'react'; import { ExampleCard, ComponentPage, PageMarkdown, PropertiesTableSet } from '@uifabric/example-app-base'; import { ScrollablePaneDefaultExample } from './examples/ScrollablePane.Default.Example'; import { ScrollablePaneDetailsListExample } from './examples/ScrollablePane.DetailsList.Example'; import { ComponentStatus } from '../../demo/ComponentStatus/ComponentStatus'; import { ScrollablePaneStatus } from './ScrollablePane.checklist'; var ScrollablePaneDefaultExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/ScrollablePane/examples/ScrollablePane.Default.Example.tsx'); var ScrollablePaneDetailsListExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/ScrollablePane/examples/ScrollablePane.DetailsList.Example.tsx'); var ScrollablePanePage = /** @class */ (function (_super) { tslib_1.__extends(ScrollablePanePage, _super); function ScrollablePanePage() { return _super !== null && _super.apply(this, arguments) || this; } ScrollablePanePage.prototype.render = function () { return (React.createElement(ComponentPage, { title: 'ScrollablePane', componentName: 'ScrollablePaneExample', componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/ScrollablePane', exampleCards: React.createElement("div", null, React.createElement(ExampleCard, { title: 'Default', code: ScrollablePaneDefaultExampleCode }, React.createElement(ScrollablePaneDefaultExample, null)), React.createElement(ExampleCard, { title: 'DetailsList Locked Header', code: ScrollablePaneDetailsListExampleCode }, React.createElement(ScrollablePaneDetailsListExample, null))), allowNativeProps: true, nativePropsElement: ['a', 'button'], propertiesTables: React.createElement("div", null, React.createElement(PropertiesTableSet, { sources: [ require('!raw-loader!office-ui-fabric-react/src/components/ScrollablePane/ScrollablePane.types.ts'), require('!raw-loader!office-ui-fabric-react/src/components/Sticky/Sticky.types.ts') ] })), overview: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/ScrollablePane/docs/ScrollablePaneOverview.md')), bestPractices: React.createElement("div", null), dos: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/ScrollablePane/docs/ScrollablePaneDos.md')), donts: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/ScrollablePane/docs/ScrollablePaneDonts.md')), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus, tslib_1.__assign({}, ScrollablePaneStatus)) })); }; return ScrollablePanePage; }(React.Component)); export { ScrollablePanePage }; //# sourceMappingURL=ScrollablePanePage.js.map