How to use the bpk-component-badge.BADGE_TYPES.warning function in bpk-component-badge

To help you get started, we’ve selected a few bpk-component-badge examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Skyscanner / backpack / packages / bpk-docs / src / pages / WebBadgePage / BadgePage.js View on Github external
],
  },
  {
    id: 'with-icons',
    title: 'With icons',
    blurb: [
      
        When badges contain icons, the icons are resized to fit and have some
        margin applied. The badge's height also increases slightly.
      ,
    ],
    examples: [
      
         Flights
      ,
      
         +  Multiple
      ,
    ],
  },
];

const BadgePage = ({ ...rest }) => (
  
);

bpk-component-badge

Backpack badge component.

Apache-2.0
Latest version published 2 years ago

Package Health Score

70 / 100
Full package analysis

Similar packages