PageSourceSearch

https://stronglytyped.uk/assets/Button-DjzjiNkr.js

js stronglytyped.uk collected 2026-10-09 17:41:28 UTC 917 bytes, 1 lines download raw bytes

1import{j as e,d as f}from"./main-eHkhfAvr.js";const c={primary:"bg-pink-600 hover:bg-pink-500 text-zinc-100 active:bg-pink-700",secondary:"ring-1 ring-zinc-700 hover:ring-pink-500 text-zinc-200 hover:text-pink-400"},u="inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-semibold transition focus:outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-pink-500";function p({variant:o="primary",children:n,className:r="",...i}){const t=`${u} ${c[o]} ${r}`;if("href"in i&&i.href&&!i.href.startsWith("/"))return e.jsx("a",{href:i.href,className:t,target:i.href.startsWith("mailto:")?void 0:"_blank",rel:i.href.startsWith("mailto:")?void 0:"noopener noreferrer",children:n});if("href"in i&&i.href)return e.jsx(f,{to:i.href,className:t,children:n});const{onClick:s,type:a="button"}=i;return e.jsx("button",{type:a,onClick:s,className:t,children:n})}export{p as B};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.