How to use the @instructure/ui-color-utils.isValid function in @instructure/ui-color-utils

To help you get started, we’ve selected a few @instructure/ui-color-utils 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 instructure / instructure-ui / packages / ui-docs-client / src / ColorSwatch / index.js View on Github external
render () {
    const { color } = this.props
    return (
      isValid(color) ? <div color="" style="{{"> : null
    )
  }
}</div>

@instructure/ui-color-utils

A color utility library made by Instructure Inc.

MIT
Latest version published 2 days ago

Package Health Score

87 / 100
Full package analysis

Similar packages