How to use the @instructure/ui-prop-types.element function in @instructure/ui-prop-types

To help you get started, we’ve selected a few @instructure/ui-prop-types 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-utils / src / react / CustomPropTypes.js View on Github external
element (...args) {
    warnDeprecatedComponent('v5.45.0', 'element', changedPackageWarning(
      'ui-utils',
      'ui-prop-types'
    ))
    return element(...args)
  }