@types/react-popover
Advanced tools
Comparing version 0.5.3 to 0.5.4
@@ -26,14 +26,14 @@ // Type definitions for react-popover 0.5 | ||
body: React.ReactNode; | ||
isOpen?: boolean; | ||
preferPlace?: PopoverPlace; | ||
place?: PopoverPlace; | ||
onOuterAction?: (event: Event) => void; | ||
refreshIntervalMs?: number; | ||
enterExitTransitionDurationMs?: number; | ||
tipSize?: number; | ||
className?: string; | ||
style?: React.CSSProperties; | ||
target?: React.ReactElement; | ||
appendTarget?: Element; | ||
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; | ||
} | ||
} |
{ | ||
"name": "@types/react-popover", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "TypeScript definitions for react-popover", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-popover", | ||
"license": "MIT", | ||
@@ -14,6 +15,7 @@ "contributors": [ | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/react-popover" | ||
}, | ||
@@ -24,4 +26,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "aaf95b3aabe39cb979ddf42e71b11be0833c00306467cd25200909fd70208834", | ||
"typeScriptVersion": "2.8" | ||
"typesPublisherContentHash": "e0a64df80d9c5ef6c5ab6a558eed0aa51528a19b27b821fe377c820a987ae130", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -5,13 +5,55 @@ # Installation | ||
# Summary | ||
This package contains type definitions for react-popover ( https://github.com/littlebits/react-popover ). | ||
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 | ||
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 | ||
// Type definitions for react-popover 0.5 | ||
// Project: https://github.com/littlebits/react-popover | ||
// Definitions by: Jakub Řičař <https://github.com/jacoporicare> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.8 | ||
Additional Details | ||
* Last updated: Wed, 13 Feb 2019 21:06:17 GMT | ||
* Dependencies: @types/react | ||
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; | ||
} | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 22:41:25 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Jakub Řičař <https://github.com/jacoporicare>. | ||
These definitions were written by [Jakub Řičař](https://github.com/jacoporicare). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
5024
1
59