import React from "react"; import type { FlyoutProps, FlyoutTriggerAttributes } from "../Flyout"; export type Props = Pick & { /** Node for inserting children */ children: (attributes: FlyoutTriggerAttributes) => React.ReactNode; /** Text content for the tooltip */ text?: React.ReactNode; /** Color of the tooltip * @default "inverted" */ color?: "inverted" | "dark"; };