office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
48 lines • 2.64 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
var List_Basic_Example_1 = require("./examples/List.Basic.Example");
var List_Grid_Example_1 = require("./examples/List.Grid.Example");
var List_Scrolling_Example_1 = require("./examples/List.Scrolling.Example");
var List_Ghosting_Example_1 = require("./examples/List.Ghosting.Example");
var List_checklist_1 = require("./List.checklist");
var exampleData_1 = require("../../utilities/exampleData");
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
;