var __rest = (this && this.__rest) || function (s, e) {
    var t = {};
    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
        t[p] = s[p];
    if (s != null && typeof Object.getOwnPropertySymbols === "function")
        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
                t[p[i]] = s[p[i]];
        }
    return t;
};
import React from 'react';
import { Button, makeStyles } from '@material-ui/core';
import { ArrowUpRightIcon, EditIcon, DeleteIcon } from '@fluentui/react-icons';
import PropTypes from 'prop-types';
const useStyles = makeStyles((theme) => ({
    root: {
        borderRadius: 0,
        padding: 8
    }
}));
export const AmbientCardButton = (props) => {
    const classes = useStyles(props);
    const { editOption, launchOption, deleteOption, children } = props, otherProps = __rest(props, ["editOption", "launchOption", "deleteOption", "children"]);
    return (React.createElement(Button, Object.assign({ classes: { root: classes.root }, variant: "outlined", disableElevation: true, color: "primary" }, otherProps), editOption && React.createElement(EditIcon, null), launchOption && React.createElement(ArrowUpRightIcon, null), deleteOption && React.createElement(DeleteIcon, null), children));
};
AmbientCardButton.propTypes = {
    /**
     * When true will display edit button.
     */
    editOption: PropTypes.bool,
    /**
     * When true will display launch button.
     */
    launchOption: PropTypes.bool,
    /**
    * When true will display delete button.
    */
    deleteOption: PropTypes.bool,
    /**
     * Will display a text lable vesion.
     */
    children: PropTypes.string,
};
//# sourceMappingURL=AmbientCardButton.js.map