@types/react-simple-tooltip
TypeScript icon, indicating that this package has built-in type declarations

2.6.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-simple-tooltip

Weekly Downloads

108

Version

2.6.1

License

MIT

Unpacked Size

4.4 kB

Total Files

5

Last publish

Collaborators

  • types