From ef0b2e03c338c89f9d97c144e563ebd0fa9eb524 Mon Sep 17 00:00:00 2001 From: Astrian Zheng Date: Thu, 20 Feb 2025 15:47:05 +1100 Subject: [PATCH] fix: enhance SingleDatePicker layout with grid styling and update component description --- src/components/SingleDatePicker.tsx | 3 ++- src/style.scss | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/SingleDatePicker.tsx b/src/components/SingleDatePicker.tsx index ef1582e..439716c 100644 --- a/src/components/SingleDatePicker.tsx +++ b/src/components/SingleDatePicker.tsx @@ -74,6 +74,7 @@ export interface SingleDatePickerProps { } /** + * SingleDatePicker * A panel that allows users to select a date. * * @component @@ -205,7 +206,7 @@ const SingleDatePicker: React.FC = ({ value, onSelect, lo -
+
{l10nDays.map((day, index) =>
{day}
)} {dates.map(date =>