UNPKG

@anoki/fse-ui

Version:

FSE UI components library

3 lines (2 loc) 1.08 kB
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/EntryButton/EntryButton.css');const e=require("./index.cjs278.js"),c=require("./index.cjs234.js");;/* empty css */const u=require("./index.cjs219.js"),l=({href:r,asLink:s="a",showIcon:i=!1,icon:t,ariaLabel:n="Accedi con SPID",children:o})=>{const x=s;return e.jsxRuntimeExports.jsxs(x,{className:"bg-primary min-h-x40 h-full base-row align-items-center br-x4 min-w-x252 text-decoration-none ui-entry-btn",href:r,rel:"noreferrer noopener",children:[e.jsxRuntimeExports.jsx(u.Row,{py:"x8",px:"x12",className:"items-center ui-entry-btn-spid",children:t||(i?e.jsxRuntimeExports.jsx(c.Spid,{color:"white"}):e.jsxRuntimeExports.jsx("div",{style:{width:24,height:24},"aria-hidden":"true"}))}),e.jsxRuntimeExports.jsxs("span",{className:"p-x8 fw-bold text-white text-decoration-none fs-6",rel:"noreferrer noopener",children:[o,n&&e.jsxRuntimeExports.jsx("span",{className:"visually-hidden",children:n})]})]})};exports.EntryButton=l; //# sourceMappingURL=index.cjs125.js.map