Tabs 组件颜色调整

This commit is contained in:
tangly1024
2022-03-28 15:33:07 +08:00
parent bca48b01ec
commit 5f941a0204

View File

@@ -35,7 +35,7 @@ const Tabs = ({ className, children }) => {
setCurrentTab(i)
}
return <div className={'mb-5 bg-white dark:bg-gray-800 duration-200 ' + className}>
return <div className={'mb-5 duration-200 ' + className}>
<ul className='flex justify-center space-x-5 pb-4 dark:text-gray-400 text-gray-600'>
{children.map((item, index) => {
return <li key={index}