@opendatalabs/vana-react - v0.3.1
    Preparing search index...

    Interface ShareButtonProps

    Props interface for custom share button components.

    Used when providing a custom buttonComponent to the VanaAppSocialShareWidget. The component receives these props for each social platform button.

    interface ShareButtonProps {
        children?: ReactNode;
        className?: string;
        Icon: LucideIcon;
        iconSize?: number;
        onClick: () => void;
        platform: SocialPlatform;
    }
    Index

    Properties

    children?: ReactNode

    Optional child content for the button

    className?: string

    CSS class name applied to the button

    Icon: LucideIcon

    Lucide React icon component for the platform

    iconSize?: number

    Icon size in pixels from theme configuration

    onClick: () => void

    Click handler that triggers the share action

    platform: SocialPlatform

    The social platform this button represents