From 1f4892823493aa92b0cb35f7c6c8e29cbc43d012 Mon Sep 17 00:00:00 2001 From: Uon Sokhuong Date: Tue, 18 Oct 2022 12:13:40 +0700 Subject: [PATCH] docs: correct 's children type in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 81b79e089..cac035582 100644 --- a/README.md +++ b/README.md @@ -2339,7 +2339,7 @@ Masks use the stencil buffer to cut out areas of the screen. This is usually che /** If depth of the masks own material will leak through, default: false */ depthWrite?: boolean /** children must define a geometry, a render-prop function is allowed which may override the default material */ - children: (spread: MaskSpread) => React.ReactNode | React.ReactNode + children: ((spread: MaskSpread) => React.ReactNode) | React.ReactNode /> ```