Search the docs
cleanChildren is a utility to get a list of all valid React child elements.
cleanChildren
import { cleanChildren } from '@dwarvesf/react-utils'
The cleanChildren hook returns a list of all valid React child elements.