1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

F #5422: Fix tabs component (#2038)

This commit is contained in:
Sergio Betanzos 2022-05-12 16:05:42 +02:00 committed by GitHub
parent 4092379f0f
commit 6e2f29df49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,7 @@ import {
TabsProps,
Tab as MTab,
Fade,
Stack,
} from '@mui/material'
import { WarningCircledOutline } from 'iconoir-react'
@ -125,7 +126,7 @@ const Tabs = ({
)
return (
<>
<Stack height={1} overflow="auto">
<Fade in timeout={300}>
{renderTabs}
</Fade>
@ -137,7 +138,7 @@ const Tabs = ({
{...tabs.find(({ value }, idx) => (value ?? idx) === tabSelected)}
/>
)}
</>
</Stack>
)
}