JSPM

@instructure/ui-simple-select

7.4.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2062
  • Score
    100M100P100Q143745F
  • License MIT

A component for standard select element behavior.

Package Exports

  • @instructure/ui-simple-select

Readme


category: packages

ui-simple-select

npm build-status MIT License Code of Conduct

A component for standard select element behavior.

Components

The ui-simple-select package contains the following:

Installation

yarn add @instructure/ui-simple-select

Usage

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.