UNPKG

@funkit/connect

Version:

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

26 lines (25 loc) 1.08 kB
import React, { type CSSProperties, type ReactNode } from 'react'; import { type BoxProps } from '../Box/Box'; import { type TextProps } from '../Text/Text'; interface FunBadgeProps { children: 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']; hasShine?: boolean; } export declare function FunBadge({ children, background, color, weight, paddingLeft, paddingRight, paddingY, paddingX, borderRadius, borderColor, shadow, textTransform, iconSrc, hasShine, }: FunBadgeProps): React.JSX.Element; interface NewTokenBadgeProps { iconSymbol?: string; } export declare const NewTokenBadge: ({ iconSymbol }: NewTokenBadgeProps) => React.JSX.Element; export {};