UNPKG

@funkit/connect

Version:

Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.

22 lines (21 loc) 939 B
import React from 'react'; import { type TextProps } from '../Text/Text'; interface FunLinkButtonProps { href?: string; inline?: boolean; onClick?: () => void; text: string; size?: TextProps['size']; weight?: TextProps['weight']; /** Whether link should be distinguished by accent color (with underline displayed after hover) or by underline (with color matching the primary text) */ variant?: 'accent' | 'underline'; } /** * A button that looks like a link. Behavior can be customized with `href` (anchor) or `onClick` (button). */ export declare function FunLinkButton({ inline, href, onClick, text, size, weight, variant, }: FunLinkButtonProps): React.JSX.Element; interface ContactSupportLinkProps extends Omit<FunLinkButtonProps, 'text'> { text?: string; } export declare const ContactSupportLink: ({ text, size, inline, href, ...rest }: ContactSupportLinkProps) => React.JSX.Element; export {};