We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f63846 + 6731b2f commit 73e1247Copy full SHA for 73e1247
src/design-system/tooltip/tooltip-root.component.tsx
@@ -6,14 +6,13 @@ import * as Tooltip from '@radix-ui/react-tooltip';
6
import { TooltipContent } from './tooltip-content.component';
7
import * as cx from './tooltip-root.css';
8
9
-export type Props = Pick<
10
- Tooltip.PopperContentProps,
11
- 'align' | 'children' | 'side'
12
-> &
13
- typeof Tooltip.Root & {
14
- label: ReactNode | string;
15
- zIndex?: number;
16
- };
+export type Props = typeof Tooltip.Root & {
+ align?: Tooltip.PopperContentProps['align'];
+ children?: Tooltip.PopperContentProps['children'];
+ side?: Tooltip.PopperContentProps['side'];
+ label: ReactNode | string;
+ zIndex?: number;
+};
17
18
export const Root = ({
19
label,
0 commit comments