"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = require("react");
var DocumentCard_1 = require("office-ui-fabric-react/lib/DocumentCard");
var TestImages_1 = require("../../../common/TestImages");
var DocumentCardCompactExample = (function (_super) {
    tslib_1.__extends(DocumentCardCompactExample, _super);
    function DocumentCardCompactExample() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    DocumentCardCompactExample.prototype.render = function () {
        var previewProps = {
            getOverflowDocumentCountText: function (overflowCount) { return "+" + overflowCount + " more"; },
            previewImages: [
                {
                    name: 'Revenue stream proposal fiscal year 2016 version02.pptx',
                    url: 'http://bing.com',
                    previewImageSrc: TestImages_1.TestImages.documentPreview,
                    iconSrc: TestImages_1.TestImages.iconPpt,
                    width: 144
                },
                {
                    name: 'New Contoso Collaboration for Conference Presentation Draft',
                    url: 'http://bing.com',
                    previewImageSrc: TestImages_1.TestImages.documentPreviewTwo,
                    iconSrc: TestImages_1.TestImages.iconPpt,
                    width: 144
                },
                {
                    name: 'Spec Sheet for design',
                    url: 'http://bing.com',
                    previewImageSrc: TestImages_1.TestImages.documentPreviewThree,
                    iconSrc: TestImages_1.TestImages.iconPpt,
                    width: 144
                },
                {
                    name: 'Contoso Marketing Presentation',
                    url: 'http://bing.com',
                    previewImageSrc: TestImages_1.TestImages.documentPreview,
                    iconSrc: TestImages_1.TestImages.iconPpt,
                    width: 144
                },
            ],
        };
        return (React.createElement("div", null,
            React.createElement(DocumentCard_1.DocumentCard, { type: DocumentCard_1.DocumentCardType.compact, onClickHref: 'http://bing.com', accentColor: '#ce4b1f' },
                React.createElement(DocumentCard_1.DocumentCardPreview, tslib_1.__assign({}, previewProps)),
                React.createElement("div", { className: 'ms-DocumentCard-details' },
                    React.createElement(DocumentCard_1.DocumentCardTitle, { title: '4 files were uploaded', shouldTruncate: true }),
                    React.createElement(DocumentCard_1.DocumentCardActivity, { activity: 'Created a few minutes ago', people: [
                            { name: 'Kat Larrson', profileImageSrc: TestImages_1.TestImages.personaFemale }
                        ] }))),
            React.createElement("p", null),
            React.createElement(DocumentCard_1.DocumentCard, { type: DocumentCard_1.DocumentCardType.compact, onClickHref: 'http://bing.com', accentColor: '#ce4b1f' },
                React.createElement(DocumentCard_1.DocumentCardPreview, { previewImages: [previewProps.previewImages[0]] }),
                React.createElement("div", { className: 'ms-DocumentCard-details' },
                    React.createElement(DocumentCard_1.DocumentCardTitle, { title: 'Revenue stream proposal fiscal year 2016 version02.pptx', shouldTruncate: true }),
                    React.createElement(DocumentCard_1.DocumentCardActivity, { activity: 'Created a few minutes ago', people: [
                            { name: 'Kat Larrson', profileImageSrc: TestImages_1.TestImages.personaFemale }
                        ] })))));
    };
    return DocumentCardCompactExample;
}(React.Component));
exports.DocumentCardCompactExample = DocumentCardCompactExample;

//# sourceMappingURL=DocumentCard.Compact.Example.js.map
