Swap Button

Default

Storybook failed to load.

Canvas Default

Storybook failed to load.

Canvas Contrast

Storybook failed to load.

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');
                                                    }}
                                                  />;

Props

Storybook failed to load.