GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — embedded-wallet/src/components/RiskWarning.tsx at develop · 1Shot-API/embedded-wallet Expand file tree/ Copy pathRiskWarning.tsxMore file actions 31 lines (30 loc) · 926 Bytes / Copy pathRiskWarning.tsxFile metadata and controls31 lines (30 loc) · 926 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 import { TriangleAlertIcon } from "lucide-react"; import type { ReactNode } from "react"; /** * Wallet-owned warning box for risk the host introduced. * * The palette is literal rather than theme tokens, so a host theme cannot * blend the warning into the card or make it unreadable; the text inside is * one of the wallet-owned strings (`WALLET_OWNED_COPY_PATHS`) or a value the * wallet derived itself. */ export function RiskWarning({ children, className = "", }: { children: ReactNode; className?: string; }) { return ( <div role="alert" className={`flex gap-2.5 rounded-lg border border-[#e3a008] bg-[#fff4cc] px-3 py-2.5 text-sm leading-relaxed text-[#4a3200] ${className}`} > <TriangleAlertIcon className="mt-0.5 size-4 shrink-0 text-[#9a6b00]" aria-hidden /> <div className="min-w-0 flex-1 whitespace-pre-line">{children}</div> </div> ); } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |