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