You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-08 23:07:32 +02:00
10 lines
363 B
TypeScript
10 lines
363 B
TypeScript
import { ItemEvent } from '@joplin/lib/components/shared/config/plugins/types';
|
|
import { Linking } from 'react-native';
|
|
import getPluginHelpUrl from '@joplin/lib/services/plugins/utils/getPluginHelpUrl';
|
|
|
|
const openWebsiteForPlugin = ({ item }: ItemEvent) => {
|
|
return Linking.openURL(getPluginHelpUrl(item.manifest.id));
|
|
};
|
|
|
|
export default openWebsiteForPlugin;
|