3.7.14 • Published 2 months ago
@types/rc-tooltip v3.7.14
Installation
npm install --save @types/rc-tooltip
Summary
This package contains type definitions for rc-tooltip (https://github.com/react-component/tooltip).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rc-tooltip.
index.d.ts
// Type definitions for rc-tooltip 3.7
// Project: https://github.com/react-component/tooltip
// Definitions by: rhysd <https://github.com/rhysd>
// ahstro <https://github.com/ahstro>
// vsaarinen <https://github.com/vsaarinen>
// aigoncharov <https://github.com/aigoncharov>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
import * as React from 'react';
export as namespace RCTooltip;
declare namespace RCTooltip {
export type Trigger = "hover" | "click" | "focus";
export type Placement =
"left" | "right" | "top" | "bottom" |
"topLeft" | "topRight" | "bottomLeft" | "bottomRight";
export interface Props {
children?: React.ReactNode;
ref?: React.LegacyRef<any> | undefined;
overlayClassName?: string | undefined;
trigger?: Trigger[] | undefined;
mouseEnterDelay?: number | undefined;
mouseLeaveDelay?: number | undefined;
overlayStyle?: React.CSSProperties | undefined;
prefixCls?: string | undefined;
transitionName?: string | undefined;
onVisibleChange?: ((visible?: boolean) => void) | undefined;
afterVisibleChange?: ((visible?: boolean) => void) | undefined;
visible?: boolean | undefined;
defaultVisible?: boolean | undefined;
placement?: Placement | Object | undefined;
align?: Object | undefined;
onPopupAlign?: ((popupDomNode: Element, align: Object) => void) | undefined;
overlay: (() => React.ReactChild) | React.ReactChild | React.ReactFragment | React.ReactPortal;
arrowContent?: React.ReactNode | undefined;
getTooltipContainer?: (() => Element) | undefined;
destroyTooltipOnHide?: boolean | undefined;
id?: string | undefined;
}
}
export default class Tooltip extends React.Component<RCTooltip.Props> {}
Additional Details
- Last updated: Thu, 16 Dec 2021 22:32:05 GMT
- Dependencies: @types/react
- Global values:
RCTooltip
Credits
These definitions were written by rhysd, ahstro, vsaarinen, and aigoncharov.
3.7.14
2 months ago
3.7.13
4 months ago
3.7.12
5 months ago
3.7.11
5 months ago
3.7.10
6 months ago
3.7.9
7 months ago
3.7.8
8 months ago
3.7.7
2 years ago
3.7.6
2 years ago
3.7.5
3 years ago
3.7.4
3 years ago
3.7.3
4 years ago
3.7.2
4 years ago
3.7.1
5 years ago
3.7.0
5 years ago
3.4.12
6 years ago
3.4.11
6 years ago
3.4.10
6 years ago
3.4.9
7 years ago
3.4.8
7 years ago
3.4.7
7 years ago
3.4.6
7 years ago
3.4.5
7 years ago
3.4.4
8 years ago
3.4.3
8 years ago
3.4.2
8 years ago
3.4.1
8 years ago