UNPKG

@uifabric/experiments

Version:

Experimental React components for building experiences for Office 365.

18 lines 961 B
import * as tslib_1 from "tslib"; import * as React from 'react'; import { FocusZone } from 'office-ui-fabric-react/lib/FocusZone'; import { CollapsibleSection } from '@uifabric/experiments/lib/CollapsibleSection'; var CollapsibleSectionBasicExample = /** @class */ (function (_super) { tslib_1.__extends(CollapsibleSectionBasicExample, _super); function CollapsibleSectionBasicExample() { return _super !== null && _super.apply(this, arguments) || this; } CollapsibleSectionBasicExample.prototype.render = function () { return (React.createElement("div", null, React.createElement(FocusZone, null, React.createElement(CollapsibleSection, { key: 1, defaultCollapsed: true, title: "Title 1" }, "Content 1")))); }; return CollapsibleSectionBasicExample; }(React.Component)); export { CollapsibleSectionBasicExample }; //# sourceMappingURL=CollapsibleSection.Basic.Example.js.map