import React from 'react';
import { makeStyles } from '@material-ui/core';
import FUIAppListItem from './FUIAppListItem';
const useStyles = makeStyles({
    root: {
        display: 'flex',
        flexDirection: 'row',
        flexWrap: 'wrap',
        maxWidth: 500
    }
}, { name: 'FUIAppList' });
const FUIAppList = (props) => {
    const { apps, verticalColor, closeSwitcher, user } = props;
    const classes = useStyles();
    return (React.createElement("div", { className: classes.root }, apps.map((item) => {
        return (React.createElement(FUIAppListItem, Object.assign({ key: item.label, verticalColor: verticalColor, closeSwitcher: closeSwitcher, user: user }, item)));
    })));
};
export default FUIAppList;
//# sourceMappingURL=FUIAppList.js.map