Package Exports
- @instructure/ui-simple-select
- @instructure/ui-simple-select/lib/SimpleSelect
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-simple-select) 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-simple-select
A component for standard select element behavior.
Components
The ui-simple-select package contains the following:
Installation
yarn add @instructure/ui-simple-selectUsage
import React from 'react'
import { Select } from '@instructure/ui-select'
const MySelect = () => {
return (
<SimpleSelect>
<SimpleSelect.Option>Option one</SimpleSelect.Option>
<SimpleSelect.Option>Option two</SimpleSelect.Option>
</SimpleSelect>
)
}For detailed usage and documentation, see SimpleSelect examples.