Describe the bug
Specifying React.fragment as Container component fails with error: Failed prop type: Invalid propcomponents.Containersupplied toMaterialTable.
To Reproduce
components={{ Container: React.Fragment }}
as per #119
Expected behavior
Table to be wrapped in nothingness.
Additional context
Add any other context about the problem here.
Regression introduced here: https://github.com/mbrn/material-table/commit/8e73b1f7b0e925116f4c1b905c232f752318da1a#diff-2d70362469a78d83972d4a85388d6e70R299
Try:
components={{
Container: props => <Fragment>{props.children}</Fragment>,
}}
Will try tomorrow, but there鈥檚 an additional error about style being applied to React.Fragment, which isn鈥檛 allowed either.
Invalid prop `style` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.
Most helpful comment
Try:
components={{ Container: props => <Fragment>{props.children}</Fragment>, }}