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.

8 lines (7 loc) 275 B
import { jsx as _jsx } from "preact/jsx-runtime"; import { hardConfig } from "../config/hard.js"; export function Title({ ...props }) { if (!props.children) return null; return (_jsx("h1", { ...props, id: hardConfig.ids.title, children: props.children })); }