Skip to content

Commit

Permalink
PR feedback on deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthkp committed Feb 25, 2022
1 parent 9627e84 commit 02cb3f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .changeset/deprecate-actionlistv1-promote-actionlistv2.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

### ActionList

ActionList now ships a composable API.
ActionList has been rewritten with a composable API, design updates and accessibility fixes.

See full list of props and examples: https://primer.style/react/ActionList

<table>
<tr>
<th> Before </th> <th> After </th>
<th> Before (v34)</th> <th> After (v35)</th>
</tr>
<tr>
<td valign="top">
Expand Down Expand Up @@ -150,3 +150,5 @@ To continue to use the deprecated API for now, change the import path to `@prime
```js
import {ActionList} from '@primer/react/deprecated'
```

You can use the [one-time codemod](https://github.com/primer/react-migrate#readme) to change your import statements automatically.
2 changes: 1 addition & 1 deletion docs/content/deprecated/ActionList.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ An `ActionList` is a list of items which can be activated or selected. `ActionLi

## Deprecation

Use [composable API](/ActionList) instead.
Use [new version of ActionList](/ActionList) with composable API, design updates and accessibility fixes.

**Before**

Expand Down

0 comments on commit 02cb3f2

Please sign in to comment.