Function: getUtils()
getUtils(
props,context):Utils|undefined
Defined in: packages/react-page-renderer/src/componentHelpers.ts:19
Retrieves the view utilities from the component's current context or properties (preferring the context).
Parameters
props
The component's current properties.
$Utils
context
The component's current context.
Returns
Utils | undefined
The retrieved view utilities.
Throws
Error Throw if the view utils cannot be located in the provided properties nor context.