"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PresenceBadgeTest = void 0;
const react_1 = __importStar(require("react"));
const react_native_1 = require("react-native");
const react_native_2 = require("@fluentui/react-native");
const badge_1 = require("@fluentui-react-native/badge");
const PresenceBadgeTest = () => {
    const [outOfOffice, setOutOfOffice] = (0, react_1.useState)(false);
    const toggleOutOfOffice = (0, react_1.useCallback)(() => setOutOfOffice(!outOfOffice), [outOfOffice]);
    return (react_1.default.createElement(react_native_1.View, null,
        react_1.default.createElement(react_native_2.ToggleButton, { onClick: toggleOutOfOffice, checked: outOfOffice },
            "Set ",
            outOfOffice ? ' In office' : ' Out of office'),
        react_1.default.createElement(react_native_1.Text, null, "Small"),
        react_1.default.createElement(react_native_1.View, { style: styles.rowStyle },
            react_1.default.createElement(badge_1.PresenceBadge, { status: "available", size: "small", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "blocked", size: "small", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "doNotDisturb", size: "small", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "away", size: "small", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "busy", size: "small", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "offline", size: "small", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "outOfOffice", size: "small", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "unknown", size: "small", outOfOffice: outOfOffice })),
        react_1.default.createElement(react_native_1.Text, null, "Medium"),
        react_1.default.createElement(react_native_1.View, { style: styles.rowStyle },
            react_1.default.createElement(badge_1.PresenceBadge, { status: "available", size: "medium", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "blocked", size: "medium", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "doNotDisturb", size: "medium", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "away", size: "medium", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "busy", size: "medium", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "offline", size: "medium", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "outOfOffice", size: "medium", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "unknown", size: "medium", outOfOffice: outOfOffice })),
        react_1.default.createElement(react_native_1.Text, null, "Large"),
        react_1.default.createElement(react_native_1.View, { style: styles.rowStyle },
            react_1.default.createElement(badge_1.PresenceBadge, { status: "available", size: "large", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "blocked", size: "large", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "doNotDisturb", size: "large", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "away", size: "large", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "busy", size: "large", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "offline", size: "large", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "outOfOffice", size: "large", outOfOffice: outOfOffice }),
            react_1.default.createElement(badge_1.PresenceBadge, { status: "unknown", size: "large", outOfOffice: outOfOffice }))));
};
exports.PresenceBadgeTest = PresenceBadgeTest;
const styles = react_native_1.StyleSheet.create({
    rowStyle: { flexDirection: 'row' },
});
//# sourceMappingURL=PresenceBadgeTest.android.js.map