Skip to content

Commit 90fcdc6

Browse files
Merge pull request #138 from linked-planet/dev
Added TextareaFormField to DynamicForm and updated types in DynamicFo…
2 parents cdec11d + d966f2e commit 90fcdc6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

library/src/components/form/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ import {
1414
SelectSingleFormField,
1515
type SelectSingleFormFieldProps as _SelectSingleFormFieldProps,
1616
} from "./elements/SelectSingleFormField"
17+
import {
18+
TextareaFormField,
19+
type TextareaFormFieldProps as _TextareaFormFieldProps,
20+
} from "./elements/TextAreaFormField"
1721
import {
1822
DynamicForm as Form,
1923
type FormField as _FormField,
@@ -28,6 +32,7 @@ const DynamicForm = {
2832
SelectMultiFormField,
2933
SelectSingleFormField,
3034
Form,
35+
TextareaFormField,
3136
}
3237
export { DynamicForm }
3338

@@ -47,4 +52,6 @@ export namespace DynamicFormTypes {
4752
export type FormField<T extends FieldValues> = _FormField<T>
4853
export type FormProps<T extends FieldValues> = _FormProps<T>
4954
export type DynamicFormProps<T extends FieldValues> = _DynamicFormProps<T>
55+
export type TextareaFormFieldProps<T extends FieldValues> =
56+
_TextareaFormFieldProps<T>
5057
}

0 commit comments

Comments
 (0)