How to use the @pluralsight/ps-design-system-halo.shapes function in @pluralsight/ps-design-system-halo

To help you get started, we’ve selected a few @pluralsight/ps-design-system-halo 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 pluralsight / design-system / packages / tag / src / react / index.js View on Github external
const Tag = props => {
  const TagName = props.href ? 'a' : 'div'
  const themeName = useTheme()

  return (
    
      
        <label>{props.children}</label>
        {renderIcon(props)}
      
    
  )
}

@pluralsight/ps-design-system-halo

Design System component for halo ui

Apache-2.0
Latest version published 2 years ago

Package Health Score

48 / 100
Full package analysis

Similar packages