import React from 'react'; import { UnorderedList as UnorderedListProps } from '@rocket.chat/message-parser'; import { View, Text } from 'react-native'; import Inline from './Inline'; import styles from '../styles'; import { themes } from '../../../constants/colors'; import { useTheme } from '../../../theme'; interface IUnorderedListProps { value: UnorderedListProps['value']; } const UnorderedList = ({ value }: IUnorderedListProps) => { const { theme } = useTheme(); return ( {value.map(item => ( - ))} ); }; export default UnorderedList;