useInsightDataView()
Home > @gooddata/sdk-ui > useInsightDataView
useInsightDataView() function
React hook to get data for a specific insight.
Signature:
export declare function useInsightDataView(config: IUseInsightDataViewConfig & UseInsightDataViewCallbacks, deps?: React.DependencyList): UseCancelablePromiseState<DataViewFacade, GoodDataSdkError>;
Parameters
Parameter | Type | Description |
---|---|---|
config | IUseInsightDataViewConfig & UseInsightDataViewCallbacks | |
deps | React.DependencyList | (Optional) |
Returns: