UNPKG

@anoki/fse-ui

Version:

FSE UI components library

3 lines (2 loc) 998 B
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/filters/BottomNavigation/BottomNavigation.css');const e=require("./index.cjs180.js"),m=require("./index.cjs182.js");;/* empty css */const j=require("./index.cjs10.js"),s=require("./index.cjs25.js"),b=({className:i="",title:n,removeLabel:o,applyLabel:r,selectedFilters:l,onApplyFilters:c,onClearFilters:a,applyDisabled:x=!1})=>{const t=Object.values(l).reduce((u,d)=>u+d.length,0);return e.jsxRuntimeExports.jsxs(j.Col,{gap:"x24",className:m.clsx(i),children:[e.jsxRuntimeExports.jsxs("h5",{className:"fw-semibold fs-5 text-slate-20",children:[n," (",t,")"]}),e.jsxRuntimeExports.jsxs("footer",{className:"ui-bottom-navigation-filters",children:[e.jsxRuntimeExports.jsx(s.Button,{disabled:x,onClick:c,children:r}),e.jsxRuntimeExports.jsx(s.Button,{variant:"secondary",onClick:a,disabled:t===0,children:o})]})]})};exports.BottomNavigation=b; //# sourceMappingURL=index.cjs49.js.map