The tag to render. Pass any regular element props along with this. If set to false a containerRef function will be passed down that must be placed on an element ref.
queries: PropTypes.object
An object of queries using { minWidth, maxWidth, minHeight, maxHeight }.
A prop callback that fires when a query has changed.
children: PropTypes.func
Children must be a function. It returns the following back:
{ containerRef, // if tag is false, you must pass the containerRef down to the component you want measured matches, // an object matching your queries shape with active queries resolve // an easier way to work with multiple boolean operations}