Skip to content

Commit 46e7b2c

Browse files
authored
Fixes error in cloneElement code example (#6291)
1 parent 20ccdf9 commit 46e7b2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/cloneElement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const clonedElement = cloneElement(
4040
'Goodbye'
4141
);
4242

43-
console.log(clonedElement); // <Row title="Cabbage">Goodbye</Row>
43+
console.log(clonedElement); // <Row title="Cabbage" isHighlighted={true}>Goodbye</Row>
4444
```
4545

4646
[See more examples below.](#usage)

0 commit comments

Comments
 (0)