Skip to content

Commit

Permalink
docs: moved the message below
Browse files Browse the repository at this point in the history
  • Loading branch information
Gururajj77 committed Jun 3, 2024
1 parent 4821764 commit feaf599
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/react/src/components/ContainedList/ContainedList.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@ render inline to the Contained List title, please see the
also remain persistent under the title, so that it remains visible on scroll,
when there are many list items passed in.

`ContainedList.ContainedListItem` is deprecated, use
`import { ContainedListItem } from '@carbon/react`
import instead.

```js
export const WithPersistentSearch = () => {
Expand Down Expand Up @@ -143,6 +140,10 @@ export const WithPersistentSearch = () => {
};
```

`ContainedList.ContainedListItem` is deprecated, use
`import { ContainedListItem } from '@carbon/react`
import instead.

<Canvas>
<Story of={ContainedListStories.WithPersistentSearch} />
</Canvas>
Expand Down

0 comments on commit feaf599

Please sign in to comment.