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, Divider } from '@material-ui/core';
const useStyles = makeStyles((theme) => ({
    root: {
        padding: 0,
        justifyContent: 'left'
    },
    wrapper: {
        minWidth: 200,
        width: '100%'
    },
    item: {
        height: theme.spacing(1)
    },
    label: {
        textTransform: 'none'
    }
}));
export const FluentMenuListItem = (_a) => {
    var { label, onClick } = _a, props = __rest(_a, ["label", "onClick"]);
    const classes = useStyles();
    return (React.createElement("div", { className: classes.wrapper }, React.createElement("div", { className: classes.item }), React.createElement(Button, Object.assign({}, props, { fullWidth: true, classes: { root: classes.root, label: classes.label }, onClick: onClick }), label), React.createElement("div", { className: classes.item }), React.createElement(Divider, null)));
};
//# sourceMappingURL=FluentMenuListItem.js.map