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