monday-ui-react-core
Version:
Official monday.com UI resources for application development in React.js
17 lines (16 loc) • 770 B
TypeScript
import React from "react";
import { ButtonProps } from "../Button/Button";
import { MoveBy } from "../../types/MoveBy";
import { DialogPosition } from "../../constants/positions";
export interface ButtonWrapperProps extends ButtonProps {
tooltipContent?: string;
/**
* Where the tooltip should be in reference to the children: Top, Left, Right, Bottom ...
*/
tooltipPosition?: DialogPosition;
tooltipHideDelay?: number;
tooltipShowDelay?: number;
tooltipContainerSelector?: string;
tooltipMoveBy?: MoveBy;
}
export declare const ButtonWrapper: ({ tooltipContent, tooltipPosition, tooltipHideDelay, tooltipShowDelay, tooltipContainerSelector, tooltipMoveBy, ...otherProps }: ButtonWrapperProps) => React.JSX.Element;