React Native
AppKit on React Native
createAppKit({ projectId: 'YOUR_PROJECT_ID', // ... other config options features: { onramp: true, // Optional - true by default } });
onramp: false
useAppKit
function OnRampButton() { const { open } = useAppKit(); const handleOnRampPress = () => { open({ view: 'OnRamp' }); }; return ( <Button title="Buy Crypto" onPress={handleOnRampPress} /> ); }
Was this page helpful?