import React from 'react';
import p from 'prefix-classname';
import { CLS_PREFIX } from '../../../config/const';
import './style.scss';
import MaterialPanel from '../material-panel';
const cn = p('');
const c = p(`${CLS_PREFIX}-left-panel`);
const LeftPanel = React.memo(({ loading, className, materials }) => {
    return (React.createElement("div", { className: cn(c(), className) },
        React.createElement(MaterialPanel, { loading: loading, materials: materials })));
});
LeftPanel.defaultProps = {
    materials: []
};
export default LeftPanel;
//# sourceMappingURL=index.js.map