UNPKG

@workday/canvas-kit-docs

Version:

Documentation components of Canvas Kit components

20 lines 983 B
import * as React from 'react'; import { Placement } from '@workday/canvas-kit-react/popup'; export interface MoreTooltipProps extends React.HTMLAttributes<HTMLDivElement> { /** * The target (anchor element) for the Tooltip. * * **Note:** This **must** be a single Element, StyledComponent, or any other component that * forwards extra props to an Element. Tooltip works running `React.cloneElement` on the children * and adds extra properties like aria attributes and event handlers. This is currently a * limitation of the Tooltip component. Functionality will not work if this condition isn't met. */ children: React.ReactElement; /** * Sets the placement preference used by PopperJS. * @default 'top' */ placement?: Placement; } export declare const MoreTooltip: ({ placement, children, title, ...elemProps }: MoreTooltipProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=MoreTooltip.d.ts.map