From 7adfe559ba821a35b014ae313fd4881850a1d3e4 Mon Sep 17 00:00:00 2001 From: Ryukemeister Date: Tue, 10 Oct 2023 14:47:17 +0530 Subject: [PATCH] update list view --- .../availabilitylist/AvailabilityList.tsx | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/packages/atoms/availabilitylist/AvailabilityList.tsx b/packages/atoms/availabilitylist/AvailabilityList.tsx index 302ba67d8b..1eb2f1ce21 100644 --- a/packages/atoms/availabilitylist/AvailabilityList.tsx +++ b/packages/atoms/availabilitylist/AvailabilityList.tsx @@ -1,14 +1,28 @@ -import { EmptyScreen } from " ./EmptyScreen"; +import { Clock } from "@calcom/ui/components/icon"; -export function AvailabilityList({ schedules }: []) { +import { EmptyScreen } from "./EmptyScreen"; + +export function AvailabilityList({ schedules }: { schedules: [] }) { return ( <> {schedules.length === 0 ? (
- +
) : ( -
Render availability list here
+
+ Render availability list here +
+ {schedules.map((schedule) => ( +

Hi

+ ))} +
+
)} );