From 5097f3a8cd2795adf9bcba5ca195b4a7626e74ee Mon Sep 17 00:00:00 2001 From: Cat-XHS <1349021570@qq.com> Date: Thu, 24 Nov 2022 15:38:42 +0800 Subject: [PATCH] feat(tour): TourStepProps ButtonProps ts definition update (#38939) * feat: tour ts define update * test: add more unit test --- .../__snapshots__/index.test.tsx.snap | 79 +++++++++++++++++++ components/tour/__tests__/index.test.tsx | 40 ++++++++++ components/tour/interface.ts | 14 +++- components/tour/panelRender.tsx | 4 +- 4 files changed, 133 insertions(+), 4 deletions(-) diff --git a/components/tour/__tests__/__snapshots__/index.test.tsx.snap b/components/tour/__tests__/__snapshots__/index.test.tsx.snap index 00d7865d661d..af0dcd11c725 100644 --- a/components/tour/__tests__/__snapshots__/index.test.tsx.snap +++ b/components/tour/__tests__/__snapshots__/index.test.tsx.snap @@ -31,6 +31,85 @@ exports[`Tour basic 1`] = ` `; +exports[`Tour custom step pre btn & next btn className & style 1`] = ` +