import { __extends } from "tslib";
import * as React from 'react';
import { ExampleCard, ComponentPage } from '@uifabric/example-app-base';
import { SlotsExample } from './Slots.Example';
import { SlotsAsyncExample } from './Slots.Async.Example';
import { SlotsRootExample } from './Slots.Root.Example';
import { SlotsIconExample } from './Slots.Icon.Example';
import { SlotsContentExample } from './Slots.Content.Example';
import { SlotsStyledExample } from './Slots.Styled.Example';
import { SlotsRecompositionExample } from './Slots.Recomposition.Example';
var SlotsExampleCode = require('!raw-loader!@fluentui/react-examples/src/experiments/Slots/Slots.Example.tsx');
var SlotsAsyncExampleCode = require('!raw-loader!@fluentui/react-examples/src/experiments/Slots/Slots.Async.Example.tsx');
var SlotsRootExampleCode = require('!raw-loader!@fluentui/react-examples/src/experiments/Slots/Slots.Root.Example.tsx');
var SlotsIconExampleCode = require('!raw-loader!@fluentui/react-examples/src/experiments/Slots/Slots.Icon.Example.tsx');
var SlotsContentExampleCode = require('!raw-loader!@fluentui/react-examples/src/experiments/Slots/Slots.Content.Example.tsx');
var SlotsStyledExampleCode = require('!raw-loader!@fluentui/react-examples/src/experiments/Slots/Slots.Styled.Example.tsx');
var SlotsRecompositionExampleCode = require('!raw-loader!@fluentui/react-examples/src/experiments/Slots/Slots.Recomposition.Example.tsx');
var SlotsPage = /** @class */ (function (_super) {
    __extends(SlotsPage, _super);
    function SlotsPage() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    SlotsPage.prototype.render = function () {
        return (React.createElement(ComponentPage, { title: "Slots", componentName: "Slots", overview: React.createElement("div", null,
                React.createElement("p", null, "Slots are a method of combining all of the various ways that subcomponents can be interacted into one prop.")), exampleCards: React.createElement("div", null,
                React.createElement(ExampleCard, { title: "All Slot Types", code: SlotsExampleCode },
                    React.createElement(SlotsExample, null)),
                React.createElement(ExampleCard, { title: "Async Render Functions", code: SlotsAsyncExampleCode },
                    React.createElement(SlotsAsyncExample, null)),
                React.createElement(ExampleCard, { title: "Button Root Slot", code: SlotsRootExampleCode },
                    React.createElement(SlotsRootExample, null)),
                React.createElement(ExampleCard, { title: "Button Icon Slot", code: SlotsIconExampleCode },
                    React.createElement(SlotsIconExample, null)),
                React.createElement(ExampleCard, { title: "Button Content Slot", code: SlotsContentExampleCode },
                    React.createElement(SlotsContentExample, null)),
                React.createElement(ExampleCard, { title: "Button Styled", code: SlotsStyledExampleCode },
                    React.createElement(SlotsStyledExample, null)),
                React.createElement(ExampleCard, { title: "Recomposition Examples", code: SlotsRecompositionExampleCode },
                    React.createElement(SlotsRecompositionExample, null))), isHeaderVisible: this.props.isHeaderVisible }));
    };
    return SlotsPage;
}(React.Component));
export { SlotsPage };
//# sourceMappingURL=SlotsPage.js.map