import { SmileReceiveButton, SmileSendButton } from'smilecoin-sdk-react'return ( <> //Receive user payments <SmilePayButtonamount={100}: (Number: unitsof smile)platform="Test Partner" (String: platform name)platform_address="X" (String: platform's receive wallet) 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)
uuid="1" (String: platform's useridentifierintheirown records)note="testdk" (String: notedescribingthe transaction)callback={myCallback} (Function: Returnssigned_txntopasstopartner BE)env="dev" (String: "dev" | "prod") /> //Send user payments <SmileSendButtoncallback={myCallback} />)
import { SmileReceiveButton, SmileSendButton } from'smilecoin-sdk-react'return ( <> //Receive user payments <SmilePayButtonamount={100}: (Number: unitsof smile)platform="Test Partner" (String: platform name)platform_address="X" (String: platform's receive wallet) 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)
uuid="1" (String: platform's useridentifierintheirown records)note="testdk" (String: notedescribingthe transaction)callback={myCallback} (Function: Returnssigned_txntopasstopartner BE)env="dev" (String: "dev" | "prod") /> //Send user payments <SmileSendButtoncallback={myCallback} />)