How to use @pluralsight/ps-design-system-circularprogress - 3 common examples

To help you get started, we’ve selected a few @pluralsight/ps-design-system-circularprogress 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 / searchinput / src / react / index.js View on Github external
const ref = useRef()
  React.useImperativeHandle(forwardedRef, () => ref.current)

  const handleClear = evt => {
    if (ref.current) {
      ref.current.value = ''
      ref.current.focus()
    }

    onClear(evt)
  }

  const clearBtn = onClear && 

  const icon = loading ? (
    
  ) : (
    
  )

  return (
    
  )
})
github pluralsight / design-system / packages / site / pages / components / circularprogress.js View on Github external
<p>Install the component dependency:</p>
      <code>
        npm install @pluralsight/ps-design-system-circularprogress
      </code>

      <p>Include a React component in your project:</p>
      <code>
        import CircularProgress from
        '@pluralsight/ps-design-system-circularprogress'
      </code>

      medium,
            <span>
              standard size for widget (from <code>CircularProgress.sizes</code>
              )
            </span>
          ]),
          PropTypes.row([
            'value',
            'number',
            null,
            null,
            'current progress out of 100'
          ])
        ]}
      /&gt;
github pluralsight / design-system / packages / site / pages / components / circularprogress.js View on Github external
PropTypes.row([
            'value',
            'number',
            null,
            null,
            'current progress out of 100'
          ])
        ]}
      /&gt;

      Size
      <p>Circular progress comes in two standard sizes.</p>
      
            ``
        )}
      /&gt;

      Mode
      <p>
        Mode is determined by the presence of the <code>value</code> prop. When
        a value is given the mode is "determinate", and visual progress is set
        to that static value. When a value is absent the mode is "indeterminate"
        and becomes an infinite spinner.
      </p>
      `, ``]}

@pluralsight/ps-design-system-circularprogress

Design System component for circular progress ui

Apache-2.0
Latest version published 2 years ago

Package Health Score

54 / 100
Full package analysis

Popular @pluralsight/ps-design-system-circularprogress functions

Similar packages