interface ShareButtonProps {
    buttonRender?: ((open) => ReactNode);
    callback?: ((success, platform) => void);
    description: string;
    image?: string;
    text: string;
    title: string;
    url?: string;
}

Properties

buttonRender?: ((open) => ReactNode)

Type declaration

    • (open): ReactNode
    • Parameters

      • open: (() => void)
          • (): void
          • Returns void

      Returns ReactNode

callback?: ((success, platform) => void)

Type declaration

    • (success, platform): void
    • Parameters

      • success: boolean
      • platform: "KAKAO" | "FACEBOOK" | "TWITTER" | "LINK"

      Returns void

description: string
image?: string
text: string
title: string
url?: string

Generated using TypeDoc