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) 249 B
import { jsx as _jsx } from "preact/jsx-runtime"; import { hardConfig } from "../config/hard.js"; export function NostrButton({ ...props }) { return (_jsx("button", { ...props, id: hardConfig.ids.button, children: "Retry Nostr Extension" })); }