"use strict";
var __extends = (this && this.__extends) || function (d, b) {
    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var React = require('react');
var index_1 = require('../../../../index');
var billMurrayContact = {
    imageUrl: '//www.fillmurray.com/200/200',
    imageInitials: 'BM',
    primaryText: 'Bill Murray',
    seconaryText: 'Actor',
    tertiaryText: 'In a meeting',
    optionalText: 'Available at 4:00pm'
};
var PersonaBasicExample = (function (_super) {
    __extends(PersonaBasicExample, _super);
    function PersonaBasicExample() {
        _super.call(this);
        this.state = {
            renderPersonaDetails: true
        };
    }
    PersonaBasicExample.prototype.render = function () {
        var _this = this;
        var renderPersonaDetails = this.state.renderPersonaDetails;
        return (React.createElement("div", null, React.createElement("div", null, React.createElement(index_1.Checkbox, {text: 'Include persona details', isChecked: renderPersonaDetails, onChanged: function (isChecked) { _this.setState({ renderPersonaDetails: isChecked }); }})), React.createElement(index_1.Persona, React.__spread({}, billMurrayContact, {size: index_1.PersonaSize.tiny, presence: index_1.PersonaPresence.offline, hidePersonaDetails: !renderPersonaDetails})), React.createElement(index_1.Persona, React.__spread({}, billMurrayContact, {size: index_1.PersonaSize.extraSmall, presence: index_1.PersonaPresence.online, hidePersonaDetails: !renderPersonaDetails})), React.createElement(index_1.Persona, React.__spread({}, billMurrayContact, {size: index_1.PersonaSize.small, presence: index_1.PersonaPresence.away, hidePersonaDetails: !renderPersonaDetails})), React.createElement(index_1.Persona, React.__spread({}, billMurrayContact, {hidePersonaDetails: !renderPersonaDetails})), React.createElement(index_1.Persona, React.__spread({}, billMurrayContact, {size: index_1.PersonaSize.large, presence: index_1.PersonaPresence.dnd, hidePersonaDetails: !renderPersonaDetails})), React.createElement(index_1.Persona, React.__spread({}, billMurrayContact, {size: index_1.PersonaSize.extraLarge, presence: index_1.PersonaPresence.blocked, hidePersonaDetails: !renderPersonaDetails}))));
    };
    return PersonaBasicExample;
}(React.Component));
exports.PersonaBasicExample = PersonaBasicExample;

//# sourceMappingURL=Persona.Basic.Example.js.map
