UNPKG

@zendesk/react-measure-timing-hooks

Version:

react hooks for measuring time to interactive and time to render of components

25 lines (24 loc) 2.92 kB
import React from 'react'; export declare const StyledSpan: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("@zendeskgarden/react-typography").ISpanProps & React.RefAttributes<HTMLSpanElement>, "ref"> & { ref?: ((instance: HTMLSpanElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLSpanElement> | null | undefined; }, Omit<import("@zendeskgarden/react-typography").ISpanProps & React.RefAttributes<HTMLSpanElement>, "ref"> & { ref?: ((instance: HTMLSpanElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLSpanElement> | null | undefined; }>, never>, never>> & string & Omit<React.ForwardRefExoticComponent<import("@zendeskgarden/react-typography").ISpanProps & React.RefAttributes<HTMLSpanElement>> & { Icon: typeof import("@zendeskgarden/react-typography/dist/typings/elements/span/Icon").Icon; StartIcon: typeof import("@zendeskgarden/react-typography/dist/typings/elements/span/StartIcon").StartIcon; }, keyof React.Component<any, {}, any>>; export declare const MessageSpan: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("@zendeskgarden/react-typography").ISpanProps & React.RefAttributes<HTMLSpanElement>, "ref"> & { ref?: ((instance: HTMLSpanElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLSpanElement> | null | undefined; }, Omit<import("@zendeskgarden/react-typography").ISpanProps & React.RefAttributes<HTMLSpanElement>, "ref"> & { ref?: ((instance: HTMLSpanElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLSpanElement> | null | undefined; }>, never>, never>> & string & Omit<React.ForwardRefExoticComponent<import("@zendeskgarden/react-typography").ISpanProps & React.RefAttributes<HTMLSpanElement>> & { Icon: typeof import("@zendeskgarden/react-typography/dist/typings/elements/span/Icon").Icon; StartIcon: typeof import("@zendeskgarden/react-typography/dist/typings/elements/span/StartIcon").StartIcon; }, keyof React.Component<any, {}, any>>; interface TicketViewProps { ticketId: number; cached?: boolean; onLoaded?: () => void; } export declare const TicketView: React.FC<TicketViewProps>; export {};