Package Exports
- @instructure/ui-forms
- @instructure/ui-forms/es/Select/SelectOptionsList
- @instructure/ui-forms/lib/Checkbox
- @instructure/ui-forms/lib/FileDrop
- @instructure/ui-forms/lib/RadioInput
- @instructure/ui-forms/lib/RadioInputGroup
- @instructure/ui-forms/lib/Select
- @instructure/ui-forms/lib/Select/SelectOptionsList
- @instructure/ui-forms/lib/TextArea
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
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" />
)
}Components
The ui-forms package contains the following components:
- Checkbox
- CheckboxGroup
- DateInput (deprecated)
- DateTimeInput
- RadioInput
- RadioInputGroup
- RangeInput
- Select
- TextArea
- TextInput (deprecated)
- TimeInput
Deprecated components
The following components have been deprecated and will be removed from the ui-forms package:
- DateInput (use DateInput from
ui-date-inputinstead) - TextInput (use TextInput from
ui-text-inputinstead) - FileDrop (use FileDrop from
ui-file-dropinstead)
Codemods are provided to assist in updating the packages. See ui-codemods
Contribute
See the contributing guidelines for details.