import type { TooltipProps } from '@mantine/core'; import { Tooltip as MantineTooltip } from '@mantine/core'; import styled from 'styled-components'; const StyledTooltip = styled(MantineTooltip)` & .mantine-Tooltip-tooltip { margin: 20px; } `; export const Tooltip = ({ children, ...rest }: TooltipProps) => { return ( {children} ); }; Tooltip.defaultProps = { openDelay: 0, position: 'top', withArrow: true, withinPortal: true, };