import * as React from "react"; import type { Typography } from "@khanacademy/wonder-blocks-typography"; import { ContentStyle } from "../util/types"; type Props = { /** * The title for the tooltip content. * Optional. */ title?: string | React.ReactElement>; /** * The main content for a tooltip. */ children: string | React.ReactElement> | Array>>; /** * Optional custom styles for the tooltip which are a subset of valid CSS styles */ contentStyle?: ContentStyle; /** * Test ID used for e2e testing. */ testId?: string; }; /** * This component is used to provide the content that is to be rendered in the * tooltip bubble. * * ### Usage * * ```jsx * import {TooltipContent} from "@khanacademy/wonder-blocks-tooltip"; * * * Some content in my tooltip. * * ``` */ export default class TooltipContent extends React.Component { _renderTitle(): React.ReactNode; _renderChildren(): React.ReactNode; render(): React.ReactNode; } export {};