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/SectionDescription.tsx

23 lines
416 B
TypeScript

import * as React from 'react';
import { ViewStyle } from 'react-native';
import { Banner } from 'react-native-paper';
interface Props {
content: string;
}
const style: ViewStyle = { marginBottom: 10 };
const SectionDescription: React.FC<Props> = props => {
return (
<Banner
visible={true}
icon='information'
style={style}
>
{props.content}
</Banner>
);
};
export default SectionDescription;