Skip to content

Commit

Permalink
fix(web) ListItem in advanced example should be List.Item (#1347)
Browse files Browse the repository at this point in the history
fix(web) list item in advanced example witch should be List.Item
  • Loading branch information
paghar authored Apr 4, 2024
1 parent a3d282b commit 4646ad1
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions apps/web/examples/list/list.advanced.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { List, Avatar } from "flowbite-react";
function Component() {
return (
<List unstyled className="max-w-md divide-y divide-gray-200 dark:divide-gray-700">
<ListItem className="pb-3 sm:pb-4">
<List.Item className="pb-3 sm:pb-4">
<div className="flex items-center space-x-4 rtl:space-x-reverse">
<Avatar img="/images/people/profile-picture-1.jpg" alt="Neil image" rounded size="sm" />
<div className="min-w-0 flex-1">
Expand All @@ -18,8 +18,8 @@ function Component() {
</div>
<div className="inline-flex items-center text-base font-semibold text-gray-900 dark:text-white">$320</div>
</div>
</ListItem>
<ListItem className="py-3 sm:py-4">
</List.Item>
<List.Item className="py-3 sm:py-4">
<div className="flex items-center space-x-4 rtl:space-x-reverse">
<Avatar img="/images/people/profile-picture-3.jpg" alt="Neil image" rounded size="sm" />
<div className="min-w-0 flex-1">
Expand All @@ -28,8 +28,8 @@ function Component() {
</div>
<div className="inline-flex items-center text-base font-semibold text-gray-900 dark:text-white">$3467</div>
</div>
</ListItem>
<ListItem className="py-3 sm:py-4">
</List.Item>
<List.Item className="py-3 sm:py-4">
<div className="flex items-center space-x-4 rtl:space-x-reverse">
<Avatar img="/images/people/profile-picture-2.jpg" alt="Neil image" rounded size="sm" />
<div className="min-w-0 flex-1">
Expand All @@ -38,8 +38,8 @@ function Component() {
</div>
<div className="inline-flex items-center text-base font-semibold text-gray-900 dark:text-white">$67</div>
</div>
</ListItem>
<ListItem className="py-3 sm:py-4">
</List.Item>
<List.Item className="py-3 sm:py-4">
<div className="flex items-center space-x-4 rtl:space-x-reverse">
<Avatar img="/images/people/profile-picture-5.jpg" alt="Neil image" rounded size="sm" />
<div className="min-w-0 flex-1">
Expand All @@ -48,8 +48,8 @@ function Component() {
</div>
<div className="inline-flex items-center text-base font-semibold text-gray-900 dark:text-white">$2367</div>
</div>
</ListItem>
<ListItem className="pb-0 pt-3 sm:pt-4">
</List.Item>
<List.Item className="pb-0 pt-3 sm:pt-4">
<div className="flex items-center space-x-4 rtl:space-x-reverse">
<Avatar img="/images/people/profile-picture-4.jpg" alt="Neil image" rounded size="sm" />
<div className="min-w-0 flex-1">
Expand All @@ -58,7 +58,7 @@ function Component() {
</div>
<div className="inline-flex items-center text-base font-semibold text-gray-900 dark:text-white">$367</div>
</div>
</ListItem>
</List.Item>
</List>
);
}
Expand Down

0 comments on commit 4646ad1

Please sign in to comment.