From 342c42f42d554b85110f5979226ecc46661d507b Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Fri, 18 Feb 2022 11:06:40 +0800 Subject: [PATCH] =?UTF-8?q?Tabs=E9=80=BB=E8=BE=91=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Tabs.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/components/Tabs.js b/components/Tabs.js index 66012477..8df76cae 100644 --- a/components/Tabs.js +++ b/components/Tabs.js @@ -41,12 +41,14 @@ const Tabs = ({ children }) => { })} - {children.map((item, index) => { - return
- {item} -
- })} +
+ {children.map((item, index) => { + return
+ {item} +
+ })} +
}