From 91ebade4e2af787c81ca99cb3a9533c9ed9ec205 Mon Sep 17 00:00:00 2001 From: Uyarn Date: Thu, 28 Dec 2023 12:55:57 +0800 Subject: [PATCH] chore: update snapshot --- src/date-picker/hooks/useTableData.tsx | 2 +- test/snap/__snapshots__/csr.test.jsx.snap | 221 ++++++++++++++++++++++ test/snap/__snapshots__/ssr.test.jsx.snap | 2 + 3 files changed, 224 insertions(+), 1 deletion(-) diff --git a/src/date-picker/hooks/useTableData.tsx b/src/date-picker/hooks/useTableData.tsx index c1c1a10bfc..ea2887410d 100644 --- a/src/date-picker/hooks/useTableData.tsx +++ b/src/date-picker/hooks/useTableData.tsx @@ -10,7 +10,7 @@ export interface TableDataProps extends SinglePanelProps { hoverEnd?: Date | undefined; minDate: Date | null; maxDate: Date | null; - cancelRangeSelectLimit: boolean; + cancelRangeSelectLimit?: boolean; } export default function useTableData(props: TableDataProps) { diff --git a/test/snap/__snapshots__/csr.test.jsx.snap b/test/snap/__snapshots__/csr.test.jsx.snap index 6f2ee8b1e2..7c8d27eae9 100644 --- a/test/snap/__snapshots__/csr.test.jsx.snap +++ b/test/snap/__snapshots__/csr.test.jsx.snap @@ -70026,6 +70026,227 @@ exports[`csr snapshot test > csr test src/date-picker/_example/base.jsx 1`] = ` } `; +exports[`csr snapshot test > csr test src/date-picker/_example/cancel-range-limit.jsx 1`] = ` +{ + "asFragment": [Function], + "baseElement": +