UNPKG

next-auth-pubkey

Version:

A light-weight Lightning and Nostr auth provider for your Next.js app that's entirely self-hosted and plugs seamlessly into the next-auth framework.

6 lines (5 loc) 230 B
import { jsx as _jsx } from "preact/jsx-runtime"; import { hardConfig } from "../config/hard.js"; export function CopyCode({ lnurl, ...props }) { return (_jsx("pre", { ...props, id: hardConfig.ids.copy, children: lnurl })); }