Skip to content

Commit

Permalink
Docs(web-react): Fix Dropdown deprecation README links
Browse files Browse the repository at this point in the history
  • Loading branch information
crishpeen committed Mar 6, 2024
1 parent 1bdccdb commit 2aa8f5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions packages/web-react/src/components/Dropdown/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Dropdown

⚠️ Dropdown component is [deprecated][deprecated] and will be removed in the next major version. Please use "DropdownModern" component instead.
⚠️ Dropdown component is [deprecated][readme-deprecations] and will be removed in the next major version. Please use "DropdownModern" component instead.
This is the React implementation of the [Dropdown][dropdown] component.

## Usage
Expand Down Expand Up @@ -59,7 +59,7 @@ and [escape hatches][readme-escape-hatches].

# DropdownModern

⚠️ `DropdownModern` component is [deprecated][deprecated] and will be renamed to `Dropdown` in the next major version.
⚠️ `DropdownModern` component is [deprecated][readme-deprecations] and will be renamed to `Dropdown` in the next major version.

## Usage

Expand Down Expand Up @@ -168,7 +168,6 @@ On top of the API options, the components accept [additional attributes][readme-
If you need more control over the styling of a component, you can use [style props][readme-style-props]
and [escape hatches][readme-escape-hatches].

[deprecated]: https://github.com/lmc-eu/spirit-design-system/tree/main/packages/web-react/README.md#deprecations
[dictionary-placement]: https://github.com/lmc-eu/spirit-design-system/tree/main/docs/DICTIONARIES.md#placement
[dropdown]: https://github.com/lmc-eu/spirit-design-system/tree/main/packages/web/src/scss/components/Dropdown
[dropdownbreakpoint]: https://github.com/lmc-eu/spirit-design-system/blob/main/packages/web-react/src/types/dropdown.ts#L11
Expand Down
2 changes: 1 addition & 1 deletion packages/web-react/src/components/DropdownModern/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DropdownModern

⚠️ `DropdownModern` component is [deprecated] and will be renamed to `Dropdown` in the next major version.
⚠️ `DropdownModern` component is [deprecated][deprecated] and will be renamed to `Dropdown` in the next major version.

For more information and implementation examples, please visit the [`DropdownModern` section][dropdown-modern-section] section in the [readme][dropdown] for the `Dropdown` component.

Expand Down

0 comments on commit 2aa8f5f

Please sign in to comment.