From 99845adfedd41e520655290a31403b90795b699c Mon Sep 17 00:00:00 2001 From: fatemeh paghar <66066475+paghar@users.noreply.github.com> Date: Wed, 19 Jun 2024 14:23:44 +0200 Subject: [PATCH] feat(ui) Add advanced list story (#1361) * feat(ui) Add advanced list story * fix(ui) actual advanced story book * fix delete unneccesary changeset --- .../ui/src/components/List/List.stories.tsx | 87 +++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/packages/ui/src/components/List/List.stories.tsx b/packages/ui/src/components/List/List.stories.tsx index 00b5ebc11..fc2b72d22 100644 --- a/packages/ui/src/components/List/List.stories.tsx +++ b/packages/ui/src/components/List/List.stories.tsx @@ -1,5 +1,6 @@ import type { Meta, StoryFn } from "@storybook/react"; import { HiCheckCircle } from "react-icons/hi"; +import { Avatar } from "../Avatar"; import type { ListProps } from "./List"; import { List } from "./List"; @@ -109,3 +110,89 @@ WithIconList.args = { ), }; + +export const AdvancedList = Template.bind({}); +AdvancedList.storyName = "Advanced"; +AdvancedList.args = { + unstyled: true, + className: "max-w-md divide-y divide-gray-200 dark:divide-gray-700", + children: ( + <> + +
+ +
+

Neil Sims

+

email@flowbite.com

+
+
$320
+
+
+ +
+ +
+

Bonnie Green

+

email@flowbite.com

+
+
$3467
+
+
+ +
+ +
+

Michael Gough

+

email@flowbite.com

+
+
$67
+
+
+ +
+ +
+

Thomas Lean

+

email@flowbite.com

+
+
$2367
+
+
+ +
+ +
+

Lana Byrd

+

email@flowbite.com

+
+
$367
+
+
+ + ), +};