How to use the @carbon/elements.breakpoint function in @carbon/elements

To help you get started, we’ve selected a few @carbon/elements 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 carbon-design-system / gatsby-theme-carbon / packages / gatsby-theme-carbon / src / util / media-queries.js View on Github external
const mq = Object.keys(CarbonBreakpoints).reduce((obj, bp) => {
  obj[bp] = breakpoint(bp);
  return obj;
}, {});

@carbon/elements

A collection of design elements in code for the IBM Design Language

Apache-2.0
Latest version published 11 days ago

Package Health Score

93 / 100
Full package analysis