1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-27 10:32:58 +02:00
joplin/packages/app-mobile/components/screens/ConfigScreen/SectionDescription.tsx

23 lines
416 B
TypeScript
Raw Normal View History

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;