1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00
joplin/packages/app-mobile/components/screens/ConfigScreen/plugins/utils/openWebsiteForPlugin.ts
Henry Heino 55cafb8891
Android: Add support for Markdown editor plugins (#10086)
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
2024-03-11 15:02:15 +00:00

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;