import React from 'react'; import { Text, View } from 'react-native'; import Markdown from '../../containers/markdown'; import { useTheme } from '../../theme'; import styles from './styles'; interface IItem { label?: string; content?: string; testID?: string; } const Item = ({ label, content, testID }: IItem): React.ReactElement | null => { const { colors } = useTheme(); if (!content) return null; return ( {label} ); }; export default Item;