How to use the bpk-tokens/tokens/base.es6.animations.durationBase function in bpk-tokens

To help you get started, we’ve selected a few bpk-tokens 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 Skyscanner / backpack / packages / bpk-component-image / src / BpkImage.js View on Github external
*/}
          {inView && (
            <img hidden="{loading}">
          )}
          {loading &amp;&amp; (
            
              <div>
                
              </div>
            
          )}
          {typeof window === 'undefined' &amp;&amp; (!inView || loading) &amp;&amp; (
            
          )}
github Skyscanner / backpack / packages / bpk-component-image / src / BpkBackgroundImage.js View on Github external
className={classNames.join(' ')}
        &gt;
          <div loading="" style="{{">
          {loading &amp;&amp; (
            
              <div>
                
              </div>
            
          )}
          {typeof window === 'undefined' &amp;&amp; (!inView || loading) &amp;&amp; (
            </div>