How to use the @bbc/psammead-assets/svgs.navigationIcons.cross 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-navigation / src / DropdownNavigation / index.jsx View on Github external
export const CanonicalMenuButton = ({
  announcedText,
  isOpen,
  onClick,
  dir,
  script,
}) => (
  
    {isOpen ? navigationIcons.cross : navigationIcons.hamburger}
  
);

@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