From acc8effc5e3bb671693b5cae0c5b2aceafb221ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Lins?= Date: Sun, 26 Jun 2022 15:03:30 -0300 Subject: [PATCH] fix: inserting children in typescript declaration --- package.json | 2 +- src/lib/index.d.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c58c892..986d9ee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-shadow-scroll", - "version": "2.1.0", + "version": "2.1.1", "description": "Component that customizes the list and inserts shadow when scrolling exists", "main": "dist/index.js", "module": "dist/index.js", diff --git a/src/lib/index.d.ts b/src/lib/index.d.ts index 8f2d9d0..2e0d8a0 100644 --- a/src/lib/index.d.ts +++ b/src/lib/index.d.ts @@ -7,6 +7,7 @@ export interface ReactShadowScrollComponentProps { isShadow?: boolean; shadow?: string; styleSubcontainer?: object; + children?: React.ReactNode; } export default class ReactShadowScrollComponent extends React.Component<