How to use the bpk-component-badge.BADGE_TYPES.destructive 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
,
      
        Pears
      ,
    ],
  },
  {
    id: 'destructive',
    title: 'Destructive',
    blurb: [
      
        The destructive badge is a red color as shown below.
      ,
    ],
    examples: [
      
        Apples
      ,
      
        Bananas
      ,
      
        Strawberries
      ,
      
        Pears
      ,
    ],
  },
  {
    id: 'light',
    title: 'Light',

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