How to use the bpk-component-badge.BADGE_TYPES.inverse 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: 'inverse',
    title: 'Inverse',
    blurb: [The inverse badge is white as shown below.],
    dark: true,
    examples: [
      
        Apples
      ,
      
        Bananas
      ,
      
        Strawberries
      ,
      
        Pears
      ,
    ],
  },
  {
    id: 'outline',
    title: 'Outline',
    blurb: [
      
        The outline badge has a somewhat transparent background as shown below.

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