import React, { useState } from 'react'
/**
* Tabs切换标签
* @param {*} param0
* @returns
*/
const Tabs = ({ className, children }) => {
const [currentTab, setCurrentTab] = useState(0)
if (!children) {
return <>>
}
children = children.filter(c => c !== '')
let count = 0
children.forEach(e => {
if (e) {
count++
}
})
if (count === 0) {
return <>>
}
if (count === 1) {
return