import { Box, Typography } from '@mui/material' import { styles } from '../styles' import { SmartTooltip } from '../../../components' import type { ReactNode } from 'react' import type { WrapperOptionsProps } from '../types' /** * Renders the widget title text inside the wrapper header with smart tooltip support for truncated titles. */ export function Title({ label, children, }: { children: ReactNode label?: NonNullable['title'] }) { return ( {({ ref }) => ( {children} )} ) }