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