How to use the @bbc/psammead-assets/svgs.mediaIcons.audio 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-program-card / src / index.jsx View on Github external
duration,
}) => (
  
    
      
        {heading}
      
      
        {date}
      
      
        {summary}
      
    
    
      {mediaIcons.audio}
      {duration}
    
  
);

@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 2 years ago

Package Health Score

54 / 100
Full package analysis