UNPKG

718 BTypeScriptView Raw
1import React from 'react';
2export type PerformanceMonitorProps = {
3 /**
4 * Sets amount of previous frames used for smoothing at highest expectedFps.
5 *
6 * Automatically scales down at lower frame rates.
7 *
8 * Affects jumpiness of the FPS measurements value.
9 */
10 smoothingFrames?: number;
11};
12/**
13 * A component that lets you measure fps values on JS and UI threads on both the
14 * Paper and Fabric architectures.
15 *
16 * @param smoothingFrames - Determines amount of saved frames which will be used
17 * for fps value smoothing.
18 */
19export declare function PerformanceMonitor({ smoothingFrames, }: PerformanceMonitorProps): React.JSX.Element;
20//# sourceMappingURL=PerformanceMonitor.d.ts.map
\No newline at end of file