UNPKG

@funkit/connect

Version:

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

25 lines (24 loc) 1.03 kB
import React, { type CSSProperties } from 'react'; import { type BoxProps } from '../Box/Box'; import { type TextProps } from '../Text/Text'; interface FunBadgeProps { children: React.ReactNode; paddingLeft?: BoxProps['paddingLeft']; paddingRight?: BoxProps['paddingRight']; paddingX?: BoxProps['paddingX']; paddingY?: BoxProps['paddingY']; background?: BoxProps['background']; borderRadius?: BoxProps['borderRadius']; borderColor?: BoxProps['borderColor']; color?: TextProps['color']; weight?: TextProps['weight']; iconSrc?: string; shadow?: string; textTransform?: CSSProperties['textTransform']; } export declare function FunBadge({ children, background, color, weight, paddingLeft, paddingRight, paddingY, paddingX, borderRadius, borderColor, shadow, textTransform, iconSrc, }: FunBadgeProps): React.JSX.Element; interface NewTokenBadgeProps { iconSymbol?: string; } export declare const NewTokenBadge: ({ iconSymbol }: NewTokenBadgeProps) => React.JSX.Element; export {};