office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
18 lines • 1.4 kB
JavaScript
import * as tslib_1 from "tslib";
import * as React from 'react';
import { ExampleCard, ComponentPage, PageMarkdown } from '@uifabric/example-app-base';
import { SelectionBasicExample } from './examples/Selection.Basic.Example';
var SelectionBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/utilities/selection/examples/Selection.Basic.Example.tsx');
var SelectionPage = /** @class */ (function (_super) {
tslib_1.__extends(SelectionPage, _super);
function SelectionPage() {
return _super !== null && _super.apply(this, arguments) || this;
}
SelectionPage.prototype.render = function () {
return (React.createElement(ComponentPage, { title: 'Selection', componentName: 'SelectionExample', componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/utilities/selection', exampleCards: React.createElement(ExampleCard, { title: 'Basic Selection Example', code: SelectionBasicExampleCode },
React.createElement(SelectionBasicExample, null)), overview: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/utilities/selection/docs/SelectionOverview.md')), isHeaderVisible: this.props.isHeaderVisible }));
};
return SelectionPage;
}(React.Component));
export { SelectionPage };
//# sourceMappingURL=SelectionPage.js.map