Default
Canvas Default
Canvas Contrast
bpk-component-swap-button
Backpack Swap Button component.
Installation
Check the main Readme for a complete installation guide.
Usage
import BpkSwapButton from '@skyscanner/backpack-web/bpk-swap-button';
export default () =>
<BpkSwapButton
ariaLabel="Swap Button"
onClick={() => {console.log('swap');
}}
/>;