ui5-webcomponents-react
ui5-webcomponents-react copied to clipboard
Toolbar: TypeError - Button wrapped in React fragment causes app to crash.
Describe the bug Render a button within a toolbar. The button itself is wrapped inside a React Fragment, then the app will crash witht he errormessage:
TypeError: child.props.children.filter is not a function
Isolated Example https://codesandbox.io/s/zen-haslett-qkhhnm?file=/src/App.js
To Reproduce Steps to reproduce the behavior:
- Go to Sandbox
- Click on the Button
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
UI5 Web Components for React Information
@ui5/webcomponents
version:
@ui5/webcomponents-react
version:
Operating System:
Browser:
Additional context Add any other context about the problem here.