diff --git a/core/src/Library.js b/core/src/Library.js index 913d0fea..ab8cd8cc 100644 --- a/core/src/Library.js +++ b/core/src/Library.js @@ -221,11 +221,13 @@ class SideNav extends React.Component { export class Example extends React.Component { static _kitLibraryExample = true static propTypes = { - name: PropTypes.string.isRequired + name: PropTypes.string.isRequired, + children: PropTypes.node.isRequired } render() { - return <React.Fragment {...this.props} /> + const { children } = this.props + return <React.Fragment>{children}</React.Fragment> } }