UNPKG

@funkit/connect

Version:

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

23 lines (22 loc) 1.05 kB
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) or by label link (with color matching the dropdown label) */ variant?: 'accent' | 'underline' | 'labelLink'; } /** * 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; children?: string; } export declare const ContactSupportLink: ({ text, children, size, weight, inline, href, ...rest }: ContactSupportLinkProps) => React.JSX.Element; export {};