import{__rest as e,__assign as t}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as l,jsxs as i,Fragment as o}from"react/jsx-runtime";import{makeStyles as n,Toolbar as r}from"@material-ui/core";import s from"classnames";var a=n({root:{"&.MuiToolbar-gutters":{paddingLeft:8,paddingRight:8}},highlight:{display:"flex",justifyContent:"space-between",backgroundColor:"rgba(3, 188, 212, 0.2)"},numSelected:{fontSize:14}}),c=function(n){var c,d=n.numSelected,m=void 0===d?null:d,u=n.actions,h=void 0===u?null:u,f=n.content,g=void 0===f?null:f,p=n.classes,v=e(n,["numSelected","actions","content","classes"]),b=a();return l(r,t({classes:p,className:s(b.root,null==p?void 0:p.root,(c={},c[b.highlight]=m>0,c))},v,{children:m>0?i(o,{children:[i("div",{className:b.numSelected,children:[m," selected"]}),l("div",{children:h})]}):l(o,{children:g})}))};export{c as default};
