UNPKG

@dynamic-labs/sdk-react-core

Version:

A React SDK for implementing wallet web3 authentication and authorization to your website.

13 lines (12 loc) 638 B
import { ComponentPropsWithoutRef, ReactNode } from 'react'; import { CopyKey } from '../../shared'; import { ButtonProps } from '../Button/Button'; type Props = ComponentPropsWithoutRef<'button'> & { children: ReactNode; className?: string; onClick?: VoidFunction; textToCopy: string; variant?: 'text' | 'button'; } & CopyKey & Pick<ButtonProps, 'buttonPadding' | 'buttonVariant' | 'buttonClassName' | 'startSlot'>; export declare const CopyButton: ({ children, className, textToCopy, onClick, variant, copykey, buttonPadding, buttonVariant, buttonClassName, startSlot, disabled, }: Props) => JSX.Element; export {};