define(["require", "exports", "react", "@fluentui/react/lib/Button"], function (require, exports, React, Button_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.ButtonToggleExample = void 0;
    var volume0Icon = { iconName: 'Volume0' };
    var volume3Icon = { iconName: 'Volume3' };
    var ButtonToggleExample = function (props) {
        var disabled = props.disabled, checked = props.checked;
        var _a = React.useState(false), muted = _a[0], setMuted = _a[1];
        var onClick = function () { return setMuted(!muted); };
        return (React.createElement(Button_1.DefaultButton, { toggle: true, checked: muted || checked, text: muted ? 'Volume muted' : 'Volume unmuted', iconProps: muted ? volume0Icon : volume3Icon, onClick: onClick, allowDisabledFocus: true, disabled: disabled }));
    };
    exports.ButtonToggleExample = ButtonToggleExample;
});
//# sourceMappingURL=buttonToggle.stories.js.map