@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
8 lines • 438 B
TypeScript
/**
* This function returns an object that needs to be spread onto the same
* element as the `elementRef`, so that the data attribute is applied
* correctly.
*/
export declare function usePerformanceMarks(name: string, enabled: () => boolean, elementRef: React.RefObject<HTMLElement>, getDetails: () => Record<string, string | boolean | number | undefined>, dependencies: React.DependencyList): {
[x: string]: string | undefined;
};