The contribution point identifier
Optional
contribKey: null | stringAn optional contribution key
An array of all extension contributions. If a contribution is an array, its flattened items are appended to the return value.
Generated using TypeDoc
A React Hook that provides all registered contributions for the given contribution point identifier
contribPointId
and optional contribution keycontribKey
. The latter is used for contributions that are objects and where each object property provides a subset of contributions. In this case, contributions are collected for the samecontribPointId
and samecontribKey
.Usually you won’t use
useContributions
directly in your components. Instead, you provide your own custom Hook for your contribution point identified bycontribPointId
.See also the core.getContributions function, which is the non-reactive equivalent of this Hook.