import { FC } from 'react'; import { Box } from '@mui/material'; import { BORDER_RADIUS, DIVIDER } from '../../lib/consts/DEFAULT_THEME'; const InnerPanelHeader: FC = ({ children }) => ( :first-child': { flexGrow: 1, }, }} > {children} {children instanceof Array ? children[0] : children} ); export default InnerPanelHeader;