react-native-open-map
react-native-open-map copied to clipboard
Typescript typings
First off, great job on the library. I've checked out the code and it's pretty neat. It does exactly what I want without adding too much fluff.
The only thing missing for me is typings for typescript, so I took it upon myself to write them for .show().
declare module 'react-native-open-map' {
function show(options: ShowOptions): any;
export interface ShowOptions {
latitude: number;
longitude: number;
title?: string;
cancelText?: string;
actionSheetTitle?: string;
actionSheetMessage?: string;
}
}
Great i'm missing this too.. Why don't you submit a PR with this?