UNPKG

@fullstory/react-native

Version:
22 lines 988 B
import { HostComponent } from 'react-native'; import type { ViewProps } from 'react-native/Libraries/Components/View/ViewPropTypes'; import { ForwardedRef } from 'react'; import { FullstoryStatic } from './fullstoryInterface'; interface NativeProps extends ViewProps { fsClass?: string; fsAttribute?: object; fsTagName?: string; dataElement?: string; dataSourceFile?: string; dataComponent?: string; } declare type FullStoryPrivateStatic = { onFSPressForward?(tag: number, isLongPress: boolean, hasPressHandler: boolean, hasLongPressHandler: boolean): void; }; export { FSPage } from './FSPage'; type FSComponentType = HostComponent<NativeProps>; export declare function applyFSPropertiesWithRef(existingRef?: ForwardedRef<unknown>): (element: React.ElementRef<FSComponentType>) => void; declare const FullstoryAPI: FullstoryStatic; export declare const PrivateInterface: FullStoryPrivateStatic; export default FullstoryAPI; //# sourceMappingURL=index.d.ts.map