import React from 'react'; import { View, Text } from 'react-native'; import Touchable from 'react-native-platform-touchable'; import { TSupportedThemes } from '../../theme'; import { themes } from '../../lib/constants'; import Button from '../../containers/Button'; import I18n from '../../i18n'; import styles from './styles'; interface ICannedResponseItem { theme: TSupportedThemes; onPressDetail: () => void; shortcut: string; scope: string; onPressUse: () => void; text: string; tags: string[]; } const CannedResponseItem = ({ theme, onPressDetail = () => {}, shortcut, scope, onPressUse = () => {}, text, tags }: ICannedResponseItem): JSX.Element => ( <> !{shortcut} {scope}