Package Exports
- @instructure/ui-options
- @instructure/ui-options/es/Options/OptionsLocator
- @instructure/ui-options/lib/Options
- @instructure/ui-options/lib/Options/OptionsLocator
- @instructure/ui-options/lib/Options/OptionsLocator.js
- @instructure/ui-options/lib/Options/locator
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@instructure/ui-options) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
category: packages experimental: true
ui-options
A view-only component for composing interactive lists and menus.
Components
The ui-options package contains the following:
Installation
yarn add @instructure/ui-optionsUsage
import React from 'react'
import { Options } from '@instructure/ui-options'
const MyOptions = () => {
return (
<Options>
<Options.Item>Option one</Options.Item>
<Options.Item>Option two</Options.Item>
</Options>
)
}