From feaf599af2ffb0aa53bb148e48c9960c4320a020 Mon Sep 17 00:00:00 2001 From: Gururajj77 Date: Mon, 3 Jun 2024 14:59:09 +0530 Subject: [PATCH] docs: moved the message below --- .../react/src/components/ContainedList/ContainedList.mdx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/react/src/components/ContainedList/ContainedList.mdx b/packages/react/src/components/ContainedList/ContainedList.mdx index f87b7c01adbc..b739d7e83180 100644 --- a/packages/react/src/components/ContainedList/ContainedList.mdx +++ b/packages/react/src/components/ContainedList/ContainedList.mdx @@ -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 = () => { @@ -143,6 +140,10 @@ export const WithPersistentSearch = () => { }; ``` +`ContainedList.ContainedListItem` is deprecated, use +`import { ContainedListItem } from '@carbon/react` +import instead. +