How to use the @instructure/ui-react-utils.experimental function in @instructure/ui-react-utils

To help you get started, we’ve selected a few @instructure/ui-react-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-options / src / Options / index.js View on Github external
import { View } from '@instructure/ui-view'
import { Item } from './Item'
import { Separator } from './Separator'

import styles from './styles.css'
import theme from './theme'

/**
---
category: components
experimental: true
---
**/
@testable()
@experimental()
@themeable(theme, styles)
class Options extends Component {
  static Item = Item
  static Separator = Separator

  static propTypes = {
    /**
    * Element type to render as
    */
    as: PropTypes.elementType,
    /**
    * The aria role of the element
    */
    role: PropTypes.string,
    /**
    * The the actual list element