Package Exports
- @instructure/ui-forms
- @instructure/ui-forms/es/Select/SelectOptionsList
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-forms) 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
ui-forms
Deprecated components
The following components have been deprecated and will be removed from the ui-forms package:
- Checkbox (use Checkbox from
ui-checkboxinstead) - CheckboxGroup (use CheckboxGroup from
ui-checkboxinstead) - DateInput (use DateInput from
ui-date-inputinstead) - DateTimeInput (use the Time and Date Input Pattern using Select and DateInput instead)
- FileDrop (use FileDrop from
ui-file-dropinstead) - RangeInput (use RangeInput from
ui-range-inputinstead) - RadioInput (use RadioInput from
ui-radio-inputinstead) - RadioInputGroup (use RadioInputGroup from
ui-radio-inputinstead) - Select (use Select from
ui-selectinstead) - TextArea (use TextArea from
ui-text-areainstead) - TextInput (use TextInput from
ui-text-inputinstead) - TimeInput (use TimeSelect from
ui-time-selectinstead)
Codemods are provided to assist in updating the packages. See ui-codemods
Installation
yarn add @instructure/ui-formsUsage
import React from 'react'
import { TextInput } from '@instructure/ui-forms'
const MyTextInput = () => {
return (
<TextInput label="Name" placeholder="Doe, John Doe" />
)
}