v8.3.0
github-actions
released this
18 Nov 19:12
·
1167 commits
to master
since this release
Minor Changes
- c4e4837: Remove the need for a child, update typings, update docs:
- Remove the need for a child in
<FocusTrap />
whencontainerElements
is used. The child was already being ignored anyway (whencontainerElements
is used; if the prop is not used, then a single child is still required). - Update the typings related to the
children
prop to make it optional. Prop-types already hadchildren
as optional, however the use ofReact.Children.only()
in all cases was still forcing the presence of a single child. That's no longer the case. - Add additional notes about the use of the
containerElements
prop in the documentation.
- Remove the need for a child in