office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
59 lines • 3.91 kB
JavaScript
import * as React from 'react';
import { ShimmerBasicExample } from './examples/Shimmer.Basic.Example';
import { ShimmerCustomElementsExample } from './examples/Shimmer.CustomElements.Example';
import { ShimmerLoadDataExample } from './examples/Shimmer.LoadData.Example';
import { ShimmerApplicationExample } from './examples/Shimmer.Application.Example';
import { ShimmerStylingExample } from './examples/Shimmer.Styling.Example';
var ShimmerBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Shimmer/examples/Shimmer.Basic.Example.tsx');
var ShimmerBasicExampleCodepen = require('!@uifabric/codepen-loader!office-ui-fabric-react/src/components/Shimmer/examples/Shimmer.Basic.Example.tsx');
var ShimmerCustomExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Shimmer/examples/Shimmer.CustomElements.Example.tsx');
var ShimmerCustomExampleCodepen = require('!@uifabric/codepen-loader!office-ui-fabric-react/src/components/Shimmer/examples/Shimmer.CustomElements.Example.tsx');
var ShimmerStylingExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Shimmer/examples/Shimmer.Styling.Example.tsx');
var ShimmerStylingExampleCodepen = require('!@uifabric/codepen-loader!office-ui-fabric-react/src/components/Shimmer/examples/Shimmer.Styling.Example.tsx');
var ShimmerLoadDataExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Shimmer/examples/Shimmer.LoadData.Example.tsx');
var ShimmerLoadDataExampleCodepen = require('!@uifabric/codepen-loader!office-ui-fabric-react/src/components/Shimmer/examples/Shimmer.LoadData.Example.tsx');
var ShimmerApplicationExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Shimmer/examples/Shimmer.Application.Example.tsx');
var ShimmerApplicationExampleCodepen = require('!@uifabric/codepen-loader!office-ui-fabric-react/src/components/Shimmer/examples/Shimmer.Application.Example.tsx');
export var ShimmerPageProps = {
title: 'Shimmer',
componentName: 'ShimmerExample',
componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/Shimmer',
examples: [
{
title: 'Shimmer with basic elements using the ~shimmerElements~ prop',
code: ShimmerBasicExampleCode,
codepenJS: ShimmerBasicExampleCodepen,
view: React.createElement(ShimmerBasicExample, null)
},
{
title: 'Shimmer with custom elements using the ~customElementsGroup~ prop',
code: ShimmerCustomExampleCode,
codepenJS: ShimmerCustomExampleCodepen,
view: React.createElement(ShimmerCustomElementsExample, null)
},
{
title: 'Shimmer swapping with the content it replaces',
code: ShimmerLoadDataExampleCode,
codepenJS: ShimmerLoadDataExampleCodepen,
view: React.createElement(ShimmerLoadDataExample, null)
},
{
title: 'Shimmered DetailsList simulating loading data asynchronously',
code: ShimmerApplicationExampleCode,
codepenJS: ShimmerApplicationExampleCodepen,
view: React.createElement(ShimmerApplicationExample, null)
},
{
title: 'Shimmer styles customizations',
code: ShimmerStylingExampleCode,
codepenJS: ShimmerStylingExampleCodepen,
view: React.createElement(ShimmerStylingExample, null)
}
],
overview: require('!raw-loader!office-ui-fabric-react/src/components/Shimmer/docs/ShimmerOverview.md'),
dos: require('!raw-loader!office-ui-fabric-react/src/components/Shimmer/docs/ShimmerDos.md'),
donts: require('!raw-loader!office-ui-fabric-react/src/components/Shimmer/docs/ShimmerDonts.md'),
isHeaderVisible: true,
isFeedbackVisible: true
};
//# sourceMappingURL=Shimmer.doc.js.map