Module: remeasure

Source:

Methods


<inner> measure(passedKeys [, passedOptions])

create higher-order component that injects size and position properties into OriginalComponent as an object under the prop name size and position

Parameters:
Name Type Argument Default Description
passedKeys ReactComponent | Array.<string> | Object | string

if used without parameters, the component that will be measured, else either single key or array of keys to watch for measurement, or an object of options

passedOptions Object <optional>
{}

an object of options to apply for measuring

Source:
Returns:

the higher-order component that will measure the child and pass down size and

position values as props

Type
ReactComponent