Skip to content

Commit 90b3c38

Browse files
Nikodermuskradio3
authored andcommitted
fix(DrawerContent.js): Temporary should be a string value
Parse boolean to string
1 parent 3ef9ab0 commit 90b3c38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Drawer/DrawerContent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const propTypes = {
99
};
1010

1111
const DrawerContent = ({ className, children, temporary, ...otherProps }) => {
12-
const childs = React.Children.map(children, child => React.cloneElement(child, { temporary }));
12+
const childs = React.Children.map(children, child => React.cloneElement(child, { temporary: temporary.toString() }));
1313
return (
1414
<div
1515
className={classnames(

0 commit comments

Comments
 (0)