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