UNPKG

@anoki/fse-ui

Version:

FSE UI components library

3 lines (2 loc) 747 B
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs244.js"),u=({links:r,asLink:a="a",onClick:s})=>{const n=a;return t.jsxRuntimeExports.jsx("ul",{className:"list-style-none",role:"list",children:r==null?void 0:r.map(e=>{const o=e==null?void 0:e.icon;return t.jsxRuntimeExports.jsx("li",{className:"py-x20 py-x8 border-bottom",children:t.jsxRuntimeExports.jsxs(n,{href:e.href,className:"w-full underline text-decoration-none text-primary fs-5 md-fs-4 fw-regular base-row align-items-center gap-x8",onClick:()=>{s==null||s()},children:[o?t.jsxRuntimeExports.jsx(o,{color:"primary",width:32,height:32}):null,e.value]})},e.value)})})};exports.NavList=u; //# sourceMappingURL=index.cjs65.js.map