# @types/react-popover

> TypeScript definitions for react-popover

Latest version **0.5.8** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/react-popover
pnpm add @types/react-popover
yarn add @types/react-popover
bun add @types/react-popover
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.5.8 |
| Published | 2023-11-07 |
| First published | 2018-04-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/react-popover
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-popover
- npm.io page: https://npm.io/package/@types/react-popover

## Dependencies (1)

- [@types/react](https://npm.io/package/@types/react.md) *

## Recent versions

- 0.5.8 (latest) — 2023-11-07
- 0.5.5 (ts4.1) — 2022-10-25
- 0.5.4 (ts3.6) — 2021-07-08
- 0.5.3 (ts2.8) — 2019-02-13
- 0.5.1 (ts2.6) — 2018-04-24
- 0.5.7 — 2023-10-18
- 0.5.6 — 2023-09-27
- 0.5.2 — 2018-08-06
- 0.5.0 — 2018-04-20

## README

# Installation
> `npm install --save @types/react-popover`

# Summary
This package contains type definitions for react-popover (https://github.com/littlebits/react-popover).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-popover.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-popover/index.d.ts)
````ts
import * as React from "react";

export = Popover;

declare class Popover extends React.Component<Popover.PopoverProps> {}

declare namespace Popover {
    type PopoverPlace =
        | "above"
        | "right"
        | "below"
        | "left"
        | "row"
        | "column"
        | "start"
        | "end";

    interface PopoverProps {
        body: React.ReactNode;
        isOpen?: boolean | undefined;
        preferPlace?: PopoverPlace | undefined;
        place?: PopoverPlace | undefined;
        onOuterAction?: ((event: Event) => void) | undefined;
        refreshIntervalMs?: number | undefined;
        enterExitTransitionDurationMs?: number | undefined;
        tipSize?: number | undefined;
        className?: string | undefined;
        style?: React.CSSProperties | undefined;
        target?: React.ReactElement | undefined;
        appendTarget?: Element | undefined;
        children?: React.ReactNode;
    }
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react)

# Credits
These definitions were written by [Jakub Řičař](https://github.com/jacoporicare).

---
_Source: https://npm.io/package/@types/react-popover · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
