@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
17 lines (16 loc) • 682 B
TypeScript
import React, { type MouseEventHandler } from 'react';
import { type BoxProps } from '../Box/Box';
export type FunButtonTypes = 'primary' | 'secondary' | 'tertiary';
export interface FunButtonProps {
id?: string;
title: string;
customTitleComponent?: React.ReactNode;
onClick?: MouseEventHandler;
type?: FunButtonTypes;
isDisabled?: boolean;
isLoading?: boolean;
loaderSize?: number;
borderRadius?: BoxProps['borderRadius'];
textSize?: BoxProps['fontSize'];
}
export declare function FunButton({ id, title, customTitleComponent, onClick, isDisabled, type, isLoading, loaderSize, textSize, borderRadius, }: FunButtonProps): React.JSX.Element;