UNPKG

react-native-ui-lib

Version:

[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct.svg)](https://stand-with-ukraine.pp.ua)

23 lines (22 loc) 845 B
import React, { ProfilerProps as RProfilerProps, PropsWithChildren } from 'react'; export type ProfilerProps = Pick<RProfilerProps, 'id'>; export default class Profiler extends React.Component<PropsWithChildren<ProfilerProps>> { onRender: (...profileData: any[]) => void; render(): React.JSX.Element; } export declare const getProfileData: ([id, phase, actualDuration, baseDuration, startTime, commitTime, interactions]: [any, any, any, any, any, any, any]) => { id: any; interactions: any; phase: any; actualDuration: number; baseDuration: number; commitTime: number; cumulativeDuration: string; startTime: number; }; export declare const logProfileData: ({ id, actualDuration, cumulativeDuration, phase }: { id: any; actualDuration: any; cumulativeDuration: any; phase: any; }) => void;