npm.io
2.6.1 • Published 2 years ago

@types/react-simple-tooltip

Licence
MIT
Version
2.6.1
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
51.3K

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 2247 GMT
  • Dependencies: @types/react

Credits

These definitions were written by ClassDome Technologies, and foreverealize.