Skip to content

utils/proxyRunning

Functions

proxyRunning()

proxyRunning(parentState, parentStateProp, childRef): void

Proxy a parent's running state to a child's running state.

Parameters

parentState

any

The parent state.

parentStateProp

string

The parent state property.

childRef

Ref<boolean, boolean>

The ref to proxy to.

Returns

void