mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
55cafb8891
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
9 lines
303 B
TypeScript
9 lines
303 B
TypeScript
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;
|