@react-native-ohos/react-native-file-viewer
Version:
Native file viewer for react-native
19 lines (14 loc) • 339 B
TypeScript
interface RNFileViewerOptions {
displayName?: string;
showAppsSuggestions?: boolean;
showOpenWithDialog?: boolean;
onDismiss?(): any;
}
declare function open(
path: string,
options?: RNFileViewerOptions | string
): Promise<void>;
declare namespace _default {
export { open };
}
export default _default;