Skip to content

Commit

Permalink
docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonav1992 committed Aug 29, 2024
1 parent ef4f249 commit 7b9aabb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/Field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,11 @@ export type FieldProps<
};

/**
* The `<Field />` component is the main building-block of forms in
* Formularity. It drastically reduces the amount of boilerplate code
* needed to manage the state of a form field by taking care of many basic
* actions such as handling change, blur, and showing errors. **Must be used
* underneath a `<Formularity />` component.**
* The `<Field />` component is the main component for hooking up inputs and
* sections of forms in Formularity. It drastically reduces the amount of
* boilerplate code needed to manage the state of a form field by taking care of
* many basic actions such as handling change, blur, and showing errors. **Must
* be used underneath a `<Formularity />` component.**
*/
export const Field = <
TFormValues extends FormValues
Expand Down
10 changes: 5 additions & 5 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,11 +336,11 @@ FormStoreState<TFormValues>
////// COMPONENTS //////
export type FormularityComponents<TFormValues extends FormValues> = {
/**
* The `<Field />` component is the main building-block of forms in
* Formularity. It drastically reduces the amount of boilerplate code
* needed to manage the state of a form field by taking care of many basic
* actions such as handling change, blur, and showing errors. **Must be used
* underneath a `<Formularity />` component.**
* The `<Field />` component is the main component for hooking up inputs and
* sections of forms in Formularity. It drastically reduces the amount of
* boilerplate code needed to manage the state of a form field by taking care of
* many basic actions such as handling change, blur, and showing errors. **Must
* be used underneath a `<Formularity />` component.**
*/
Field: FieldComponent<TFormValues>;
/**
Expand Down

0 comments on commit 7b9aabb

Please sign in to comment.