office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
43 lines • 2.77 kB
JavaScript
define(["require", "exports", "react", "./examples/List.Basic.Example", "./examples/List.Grid.Example", "./examples/List.Scrolling.Example", "./examples/List.Ghosting.Example", "./List.checklist", "../../utilities/exampleData"], function (require, exports, React, List_Basic_Example_1, List_Grid_Example_1, List_Scrolling_Example_1, List_Ghosting_Example_1, List_checklist_1, exampleData_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ListBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/List/examples/List.Basic.Example.tsx');
var ListGridExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/List/examples/List.Grid.Example.tsx');
var ListScrollingExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/List/examples/List.Scrolling.Example.tsx');
var ListGhostingExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/List/examples/List.Ghosting.Example.tsx');
var _cachedItems = exampleData_1.createListItems(5000);
exports.ListPageProps = {
title: 'List',
componentName: 'ListExample',
componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/List',
examples: [
{
title: 'List of 5000 grid items',
code: ListGridExampleCode,
view: React.createElement(List_Grid_Example_1.ListGridExample, { items: _cachedItems })
},
{
title: 'List of 5000 variable height items',
code: ListBasicExampleCode,
view: React.createElement(List_Basic_Example_1.ListBasicExample, { items: _cachedItems })
},
{
title: 'Scrolling items into view',
code: ListScrollingExampleCode,
view: React.createElement(List_Scrolling_Example_1.ListScrollingExample, { items: _cachedItems })
},
{
title: 'Rendering ghost items while the list is scrolling',
code: ListGhostingExampleCode,
view: React.createElement(List_Ghosting_Example_1.ListGhostingExample, { items: _cachedItems })
}
],
allowNativeProps: true,
propertiesTablesSources: [require('!raw-loader!office-ui-fabric-react/src/components/List/List.types.ts')],
overview: require('!raw-loader!office-ui-fabric-react/src/components/List/docs/ListOverview.md'),
isHeaderVisible: true,
isFeedbackVisible: true,
componentStatus: List_checklist_1.ListStatus
};
});
//# sourceMappingURL=List.doc.js.map