Skip to content

Commit

Permalink
docs: correct <Mask/>'s children type in README
Browse files Browse the repository at this point in the history
  • Loading branch information
sokhuong-uon committed Oct 18, 2022
1 parent 7b7d486 commit 1f48928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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
/>
```

Expand Down

0 comments on commit 1f48928

Please sign in to comment.