import { StyleSheet } from 'react-native';
import sharedStyles from '../../views/Styles';
import { isTablet } from '../../utils/deviceInfo';
export default StyleSheet.create<any>({
root: {
flexDirection: 'row'
},
container: {
paddingVertical: 4,
width: '100%',
paddingHorizontal: 14,
flexDirection: 'column'
contentContainer: {
flex: 1
messageContent: {
flex: 1,
marginLeft: 46
messageContentWithHeader: {
marginLeft: 10
messageContentWithError: {
marginLeft: 0
flex: {
// flex: 1
temp: { opacity: 0.3 },
marginTop: {
marginTop: 6
reactionsContainer: {
flexDirection: 'row',
flexWrap: 'wrap',
marginTop: 8
reactionButton: {
marginRight: 8,
marginBottom: 8,
borderRadius: 2
reactionContainer: {
justifyContent: 'center',
alignItems: 'center',
borderRadius: 2,
borderWidth: 1,
height: 28,
minWidth: 46.3
reactionCount: {
fontSize: 14,
marginLeft: 3,
marginRight: 8.5,
...sharedStyles.textSemibold
reactionEmoji: {
fontSize: 13,
marginLeft: 7,
color: '#ffffff'
reactionCustomEmoji: {
width: 19,
height: 19,
marginLeft: 7
avatar: {
marginTop: 4
avatarSmall: {
marginLeft: 16
errorButton: {
paddingLeft: 10,
paddingVertical: 5
buttonContainer: {
marginTop: 8,
alignItems: 'center'
button: {
paddingHorizontal: 12,
paddingVertical: 8,
buttonIcon: {
marginRight: 8
buttonText: {
fontSize: 12,
imageContainer: {
// flex: 1,
flexDirection: 'column',
borderRadius: 4
image: {
minHeight: isTablet ? 300 : 200,
borderRadius: 4,
overflow: 'hidden'
imagePressed: {
opacity: 0.5
inlineImage: {
width: 300,
height: 300,
resizeMode: 'contain'
text: {
fontSize: 16,
...sharedStyles.textRegular
textInfo: {
fontStyle: 'italic',
startedDiscussion: {
marginBottom: 6,
time: {
marginLeft: 8,
repliedThread: {
marginTop: 6,
marginBottom: 12
repliedThreadIcon: {
marginRight: 10,
repliedThreadName: {
repliedThreadDisclosure: {
marginLeft: 4,
marginRight: 4,
justifyContent: 'center'
threadBadge: {
width: 8,
height: 8,
marginLeft: 8
threadBell: {
readReceipt: {
lineHeight: 20
encrypted: {
threadDetails: {
marginLeft: 12
}
});