import React from 'react'; import { Text } from 'react-native'; import { Plain as PlainProps } from '@rocket.chat/message-parser'; import styles from '../styles'; import { useTheme } from '../../../theme'; import { themes } from '../../../lib/constants'; interface IPlainProps { value: PlainProps['value']; } const Plain = ({ value }: IPlainProps) => { const { theme } = useTheme(); return ( {value} ); }; export default Plain;