How to use the @bbc/psammead-assets/svgs.coreIcons.alert function in @bbc/psammead-assets

To help you get started, we’ve selected a few @bbc/psammead-assets 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 bbc / psammead / packages / components / psammead-embed-error / src / index.jsx View on Github external
const EmbedError = ({ service, message, fillViewport }) => (
  
    
      {coreIcons.alert}
      <strong>{message}</strong>
    
  
);

@bbc/psammead-assets

A collection of common assets that are likely to be required by many Psammead components or users, such as SVGs or small scripts.

Apache-2.0
Latest version published 3 years ago

Package Health Score

54 / 100
Full package analysis