1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-30 10:36:35 +02:00
joplin/packages/app-mobile/components/screens/ConfigScreen/plugins/utils/openWebsiteForPlugin.ts

9 lines
303 B
TypeScript
Raw Normal View History

import { ItemEvent } from '@joplin/lib/components/shared/config/plugins/types';
import { Linking } from 'react-native';
const openWebsiteForPlugin = ({ item }: ItemEvent) => {
return Linking.openURL(`https://joplinapp.org/plugins/plugin/${item.manifest.id}`);
};
export default openWebsiteForPlugin;