mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-30 10:36:35 +02:00
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;
|