IUsePlaceholderHook
Home > @gooddata/sdk-ui > IUsePlaceholderHook
IUsePlaceholderHook type
React hook to obtain and set IPlaceholder value.
Signature:
export declare type IUsePlaceholderHook<T extends IPlaceholder<any>> = () => [
PlaceholderValue<T> | undefined,
(valueOrUpdateCallback: ValueOrUpdateCallback<PlaceholderValue<T> | undefined>) => void
];
References: IPlaceholder, PlaceholderValue