UNPKG

@react-native-ohos/sample-package

Version:

react native harmony sample package

14 lines 644 B
import React from 'react'; import { OutgoingData, IncomingData } from './specs/ArkTSNativeComponent'; export declare type GeneratedSampleComponentArkTSRef = { emitNativeEvent: (eventType: 'directEvent' | 'bubblingEvent') => void; }; export declare const GeneratedSampleComponentArkTS: React.ForwardRefExoticComponent<{ children?: any; testProps: Omit<OutgoingData, 'colorTest'> & { colorTest: string; }; onDirectEvent?: (args: IncomingData) => void; onBubblingEvent?: (args: IncomingData) => void; } & React.RefAttributes<GeneratedSampleComponentArkTSRef>>; //# sourceMappingURL=ArkTSFabric.d.ts.map