UNPKG

@awsui/components-react

Version:

On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en

26 lines 781 B
import { JSONObject } from '../../analytics/interfaces'; export interface UseTableInteractionMetricsProps<T> { elementRef: React.RefObject<HTMLElement>; instanceIdentifier: string | undefined; loading: boolean | undefined; items: readonly T[]; itemCount: number; getComponentIdentifier: () => string | undefined; getComponentConfiguration: () => JSONObject; interactionMetadata: () => string; } export declare function useTableInteractionMetrics<T>({ elementRef, items, itemCount, instanceIdentifier, getComponentIdentifier, getComponentConfiguration, loading, interactionMetadata }: UseTableInteractionMetricsProps<T>): { tableInteractionAttributes: { [x: string]: string | undefined; }; setLastUserAction: (name: string) => undefined; };