import React from 'react'; import { View, Text } from 'react-native'; import PropTypes from 'prop-types'; import styles from './styles'; import Markdown from '../../containers/markdown'; import { themes } from '../../constants/colors'; const Item = ({ label, content, theme }) => ( content ? ( {label} ) : null ); Item.propTypes = { label: PropTypes.string, content: PropTypes.string, theme: PropTypes.string }; export default Item;