We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 402322f commit 8af622dCopy full SHA for 8af622d
src/helpers/isChildrenEmpty/README.md
@@ -36,7 +36,12 @@ React.createElement(() => {
36
37
```docoff-react-preview
38
React.createElement(() => {
39
- const children = "Meaningful content";
+ const children = (
40
+ <>
41
+ <h1>Title</h1>
42
+ <p>Content</p>
43
+ </>
44
+ );
45
const isEmpty = isChildrenEmpty(children);
46
47
if (isEmpty === false) {
0 commit comments