UNPKG

@workday/canvas-kit-react

Version:

The parent module that contains all Workday Canvas Kit React components

26 lines 1.11 kB
import * as React from 'react'; import { TransformOrigin } from '@workday/canvas-kit-react/common'; export interface TooltipContainerProps extends React.HTMLAttributes<HTMLDivElement> { /** * The origin from which the Tooltip will animate. Pass in `null` for no animation * @default {horizontal: 'center', vertical: 'top'} */ transformOrigin?: TransformOrigin | null; /** * HTML id of the tooltip container - useful for accessibility. * Should link the tooltip container to a `aria-describedby` on the target */ id?: string; /** * optional popper properties if `placement` is set */ popperProps?: { open: boolean; anchorElement: HTMLElement | null; }; } export declare const TooltipContainer: import("@emotion/styled").StyledComponent<{ theme?: import("@emotion/react").Theme | undefined; as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined; } & TooltipContainerProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>; //# sourceMappingURL=TooltipContainer.d.ts.map