@types/simple-react-clipboard
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -1,5 +0,5 @@ | ||
import { ReactNode } from "react"; | ||
import { JSX, ReactNode } from "react"; | ||
interface ClipboardProps { | ||
render: (arg0: { copy: () => void }) => React.ReactNode; | ||
render: (arg0: { copy: () => void }) => ReactNode; | ||
text: string; | ||
@@ -6,0 +6,0 @@ props?: object | undefined; |
{ | ||
"name": "@types/simple-react-clipboard", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "TypeScript definitions for simple-react-clipboard", | ||
@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simple-react-clipboard", | ||
}, | ||
"typesPublisherContentHash": "ca4961ba1978d88ec820e273134b0e900d935f82c4a0c3c126af537f185f8802", | ||
"typesPublisherContentHash": "9dcea01592ea7a4f98248d29046374e9f92708769eec97605da1dd6c55fa19e8", | ||
"typeScriptVersion": "4.6" | ||
} |
@@ -11,6 +11,6 @@ # Installation | ||
````ts | ||
import { ReactNode } from "react"; | ||
import { JSX, ReactNode } from "react"; | ||
interface ClipboardProps { | ||
render: (arg0: { copy: () => void }) => React.ReactNode; | ||
render: (arg0: { copy: () => void }) => ReactNode; | ||
text: string; | ||
@@ -37,3 +37,3 @@ props?: object | undefined; | ||
### Additional Details | ||
* Last updated: Tue, 28 Nov 2023 19:06:48 GMT | ||
* Last updated: Fri, 15 Dec 2023 19:06:42 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -40,0 +40,0 @@ |
3830