Skip to content

Commit

Permalink
docs(FormSet): spelling in deprecation docs (#2827)
Browse files Browse the repository at this point in the history
  • Loading branch information
langz authored Nov 2, 2023
1 parent 4062e6a commit 1bcbf60
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ For when using icons in an Anchor (text link), use the `icon` property instead o

## Removal of FormRow and FormSet

For more information on how to replace these, check out [these docs](/uilib/layout/form-set-row-deprication#depreciation).
For more information on how to replace these, check out [these docs](/uilib/layout/form-set-row-deprecation#deprecation).

- Find `<FormRow>` and replace with `<Flex.Horizontal align="baseline">`.
- Find `<FormRow vertical>` and replace with `<Flex.Vertical>`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import {
FormRowSpacingInfo,
FormRowResponsiveInfo,
} from 'Docs/uilib/layout/form-row/Examples'
import DepreciationInfo from 'Docs/uilib/layout/form-set-row-deprication'
import DeprecationInfo from 'Docs/uilib/layout/form-set-row-deprecation'

## Description

The FormRow component is a helper to more easily achieve often used DNB form layout setups.

<DepreciationInfo />
<DeprecationInfo />

### Fieldset and Legend

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import {
FormSetInfoVertical,
FormSetAlternativeBefore,
FormSetAlternativeAfter,
FormSetAlternativeForms,
} from 'Docs/uilib/layout/Examples'

## Depreciation
## Deprecation

In order to replace FormSet or FormRow you may use the Eufemia [Provider](/uilib/usage/customisation/provider-info) and [Flex](/uilib/layout/flex) as well as the Eufemia [Forms Extension](/uilib/extensions/forms).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ showTabs: true
---

import { FormSetInfoVertical } from 'Docs/uilib/layout/form-set/Examples'
import DepreciationInfo from 'Docs/uilib/layout/form-set-row-deprication'
import DeprecationInfo from 'Docs/uilib/layout/form-set-row-deprecation'

## Description

The FormSet component gives you both a HTML form element `<form>` by default and also a React provider for [FormRow](/uilib/layout/form-row). This way you can define more globally e.g. if all the rows should be displayed **vertically**.

<FormSetInfoVertical />

<DepreciationInfo />
<DeprecationInfo />

0 comments on commit 1bcbf60

Please sign in to comment.