import React from 'react'; import { View, Text } from 'react-native'; import Touchable from 'react-native-platform-touchable'; import { themes } from '../../constants/colors'; import Button from '../../containers/Button'; import I18n from '../../i18n'; import styles from './styles'; interface ICannedResponseItem { theme: string; 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}