How to use @hig/icon-button - 1 common examples

To help you get started, we’ve selected a few @hig/icon-button 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 / text-field / src / presenters / TextFieldPresenter.js View on Github external
{icon}
                
              )}

              <input type="{type}" id="{id}">

              {hasClearableInput &amp;&amp; (
                <span>
                  }
                    title={clearButtonTitle}
                    onClick={onClearButtonClick}
                  /&gt;
                </span>
              )}
            
          

          {this.shouldShowInstructions() &amp;&amp; (
            <p>{instructions}</p>
          )}

          {errors &amp;&amp; <p>{errors}</p>}

          {required &amp;&amp; (

@hig/icon-button

HIG IconButton component

Apache-2.0
Latest version published 2 years ago

Package Health Score

54 / 100
Full package analysis

Popular @hig/icon-button functions