import * as React from 'react';
import { DashboardToolbar as DashboardToolbarUI } from '../../../../components/Dashboard';
export class PanelDashboard extends React.Component {
    static defaultProps = {
        showConfigureActionButton: true,
        showCloseActionButton: true,
        headerText: 'Module',
        onClose: null,
        onConfigure: null,
        accessLevel: 'Full',
    };
    render() {
        const { headerText, showConfigureActionButton, showCloseActionButton, onConfigure, onClose, accessLevel, children, } = this.props;
        return (React.createElement(DashboardToolbarUI, { title: headerText, onConfigure: onConfigure, showConfigure: showConfigureActionButton, showClose: showCloseActionButton, onClose: onClose, accessLevel: accessLevel }, children));
    }
}
