Backpack spinner components.
Check the main Readme for a complete installation guide.
import { BpkSpinner, BpkLargeSpinner, BpkExtraLargeSpinner, SPINNER_TYPES } from '@skyscanner/backpack-web/bpk-component-spinner';
export default () => (
<div>
<BpkSpinner type={SPINNER_TYPES.primary} />
<BpkLargeSpinner type={SPINNER_TYPES.light} />
<BpkExtraLargeSpinner type={SPINNER_TYPES.dark} />
</div>
);
Check out the full list of props on Skyscanner's design system documentation website.