import type { FC, PropsWithChildren, ReactNode } from 'react' export type ToolTipContentProps = { title?: ReactNode action?: ReactNode } & PropsWithChildren export const ToolTipContent: FC = ({ title, action, children, }) => { return (
{title && (
{title}
)}
{children}
{action &&
{action}
}
) }