UNPKG

based-auth

Version:

A Next.js/Node.js authentication and wallet API kit for Ethereum and Solana, with utilities for serialization and contract interaction, designed for serverless and API route usage.

15 lines (14 loc) 911 B
import { VariantProps } from 'class-variance-authority'; import * as React from "react"; declare const buttonVariants: (props?: ({ variant?: "link" | "default" | "outline" | "destructive" | "secondary" | "ghost" | null | undefined; size?: "icon" | "default" | "sm" | "lg" | null | undefined; } & import('class-variance-authority/types').ClassProp) | undefined) => string; declare const Button: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({ variant?: "link" | "default" | "outline" | "destructive" | "secondary" | "ghost" | null | undefined; size?: "icon" | "default" | "sm" | "lg" | null | undefined; } & import('class-variance-authority/types').ClassProp) | undefined) => string> & { asChild?: boolean | undefined; className?: string | undefined; } & React.RefAttributes<HTMLButtonElement>>; export { Button, buttonVariants };