From 1fa7b1fbf80a2991098d785ba6b4bbe364949947 Mon Sep 17 00:00:00 2001 From: paghar Date: Sat, 13 Apr 2024 22:57:17 +0330 Subject: [PATCH] fix(ui) actual advanced story book --- .../ui/src/components/List/List.stories.tsx | 87 +++++++++++++++++-- 1 file changed, 79 insertions(+), 8 deletions(-) diff --git a/packages/ui/src/components/List/List.stories.tsx b/packages/ui/src/components/List/List.stories.tsx index 00e5f84417..fc2b72d221 100644 --- a/packages/ui/src/components/List/List.stories.tsx +++ b/packages/ui/src/components/List/List.stories.tsx @@ -1,12 +1,9 @@ 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"; - - - - export default { title: "Components/List", component: List, @@ -117,11 +114,85 @@ 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: ( <> - At least 10 characters (and up to 100 characters) - At least one lowercase character - Inclusion of at least one special character, e.g., ! @ # ? + +
+ +
+

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
+
+
), -}; \ No newline at end of file +};