How to use the @bbc/psammead-assets/svgs.mediaIcons.guidance 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-media-player / src / Guidance / index.jsx View on Github external
const Guidance = ({ guidanceMessage, service, children }) => {
  return (
    
      
        <content>
          {mediaIcons.guidance}
          {guidanceMessage}
        </content>
      
      {children}
    
  );
};

@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