import * as React from 'react'; import { PluginManifest } from '@joplin/lib/services/plugins/utils/types'; import { Text } from 'react-native-paper'; import { StyleSheet } from 'react-native'; interface Props { manifest: PluginManifest; } const styles = StyleSheet.create({ versionText: { opacity: 0.8, }, title: { // Prevents the title text from being clipped on Android verticalAlign: 'middle', fontWeight: 'bold', }, }); const PluginTitle: React.FC = props => { return { props.manifest.name } v{ props.manifest.version } ; }; export default PluginTitle;