import { SmileReceiveButton, SmileSendButton } from 'smilecoin-sdk-react'
3. Initialize component:
return(<SmileReceiveButtonamount={100}//(Number: units of smile)platform="Test Partner"//(String: platform name)platform_address="X"//(String: platform's receive wallet)uuid="1"//(String: platform's user identifier in their own records)platform_parameters={custom_parameter_1: "x"...}//(Object: will take any sensitive custom parameters you would like to encrypt and track, this will append to the provided note)note="testdk"//(String: note describing the transaction)callback={myCallback}//(Function: Returns signed_txn to pass to partner BE)env="development"//(String: "development" | "production")/>)
return(<SmileSendButtoncallback={yourCallback}//(Function: The SmileSend button should call your payout endpoint)/>)