Package Exports
- @instructure/ui-form-field
- @instructure/ui-form-field/lib/components/FormField
- @instructure/ui-form-field/lib/components/FormFieldGroup
- @instructure/ui-form-field/lib/components/FormFieldLabel
- @instructure/ui-form-field/lib/components/FormFieldLayout
- @instructure/ui-form-field/lib/components/FormFieldMessage
- @instructure/ui-form-field/lib/components/FormFieldMessages
- @instructure/ui-form-field/lib/utils/FormPropTypes
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-form-field) 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-form-field
Installation
yarn add @instructure/ui-form-fieldUsage
import React from 'react'
import FormField from '@instructure/ui-form-field/lib/components/FormField'
export default function Example () {
return (
<FormField label="Label" layout="inline">
...
</FormField>
)
}