Backpack radio button component.
Check the main Readme for a complete installation guide.
import BpkRadio from '@skyscanner/backpack-web/bpk-component-radio';
export default () => (
<BpkRadio
name="return"
label="Return"
onChange={() => console.log('radio changed')}
checked
/>
);
On Internet Explorer 11, radio buttons have the standard built-in appearance.
Check out the full list of props on Skyscanner's design system documentation website.