From 6508c7e4e01b29f3d0c1eb64d62b77fc7e916452 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8F=B5=E4=B9=8B?= Date: Fri, 1 Mar 2024 11:23:50 +0800 Subject: [PATCH] chore(DatePicker): fix theme demo margin, close #3627 --- components/date-picker/__docs__/theme/index.jsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/components/date-picker/__docs__/theme/index.jsx b/components/date-picker/__docs__/theme/index.jsx index 3fbd638ccb..4f067e69cd 100644 --- a/components/date-picker/__docs__/theme/index.jsx +++ b/components/date-picker/__docs__/theme/index.jsx @@ -1,4 +1,5 @@ import React from 'react'; +import ReactDOM from 'react-dom'; import moment from 'moment'; import { Demo, DemoGroup, initDemo } from '../../../demo-helper'; import DatePicker from '../../index'; @@ -80,11 +81,11 @@ function renderDatePicker(locale, demoFunction, onFunctionChange, otherProps) { - + - + @@ -104,11 +105,11 @@ function renderRangePicker(locale, demoFunction, onFunctionChange, otherProps) { - + - +