Created
February 3, 2023 07:36
-
-
Save alfonso-paella/c26ad0116793b07743587ae6ac82a65e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 1. Add this import line at the top of your file | |
| import { CrossmintPayButton } from "@crossmint/client-sdk-react-ui"; | |
| // 2. Add this component wherever you want the Buy with card button to show | |
| // Ensure the button shows even for your users who don't have connected their wallet! | |
| <CrossmintPayButton | |
| clientId="_YOUR_CLIENT_ID_" | |
| environment="staging" | |
| mintConfig={{ | |
| type: "candy-machine" | |
| }} | |
| /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment