How to use the @hig/icons.sizes.PX_16 function in @hig/icons

To help you get started, we’ve selected a few @hig/icons 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 Autodesk / hig / packages / side-nav / src / Submodule / Submodule.js View on Github external
role={role}
            tabIndex="0"
            target={wrapperTarget}
          >
            {title}
            {isExternalLink ? (
              <div>
                
              </div>
            ) : null}
          
        )}
github Autodesk / hig / packages / side-nav / src / Module / presenters / TitlePresenter.js View on Github external
onClick={handleClick}
              onKeyDown={handleKeyDown}
              role={role}
              tabIndex={tabIndex}
              target={wrapperTarget}
            &gt;
              <div>{icon}</div>
              <div>{title}</div>
              {isExternalLink &amp;&amp; (
                <div>
                  
                </div>
              )}
            
          );
        }}
github Autodesk / hig / packages / side-nav / src / Link / Link.js View on Github external
{({ resolvedRoles, metadata }) =&gt; {
          const styles = stylesheet(this.props, resolvedRoles);
          const size =
            metadata.densityId === "medium-density"
              ? iconSizes.PX_24
              : iconSizes.PX_16;
          return (
            
              
                {title}
              
              {this._renderExternalLinkIcon(styles, size)}
            
          );
        }}

@hig/icons

HIG icon assets

Apache-2.0
Latest version published 2 years ago

Package Health Score

54 / 100
Full package analysis