Installation
npm install --save @types/react-simple-tooltip
Summary
This package contains type definitions for react-simple-tooltip (https://github.com/cedricdelpoux/react-simple-tooltip#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-simple-tooltip.
index.d.ts
import * as React from "react";
interface SimpleTooltipProps extends React.PropsWithChildren<any> {
arrow?: number; // 8
background?: string; // "#000"
border?: string; // "#000"
color?: string; // "#fff"
content: any; // -
customCss?: any; // -
fadeDuration?: number; // 0
fadeEasing?: string; // "linear"
fixed?: boolean; // false
fontFamily?: string; // "inherit"
fontSize?: string; // "inherit"
padding?: number; // 16
placement?: "left" | "top" | "right" | "bottom"; // "top"
radius?: number; // 0
zIndex?: number; // 1
}
declare class Tooltip extends React.Component<SimpleTooltipProps> {
static default: typeof Tooltip;
}
export = Tooltip;
Additional Details
- Last updated: Tue, 06 Feb 2024 22:06:47 GMT
- Dependencies: @types/react
Credits
These definitions were written by ClassDome Technologies, and foreverealize.