useResolveValuesWithPlaceholders()
Home > @gooddata/sdk-ui > useResolveValuesWithPlaceholders
useResolveValuesWithPlaceholders() function
React hook that resolves multiple value(s) that can possibly contain also placeholder(s) to actual value(s).
Signature:
export declare function useResolveValuesWithPlaceholders<T extends any[], C>(values: [...T], resolutionContext?: C): PlaceholdersResolvedValues<T>;
Parameters
Parameter | Type | Description |
---|---|---|
values | [...T] | |
resolutionContext | C | (Optional) |
Returns:
Remarks
You can provide custom context for the composed placeholders resolution.