verdnatura-chat/app/containers/DirectoryItem/styles.ts

45 lines
826 B
TypeScript
Raw Permalink Normal View History

2019-07-18 17:44:02 +00:00
import { StyleSheet } from 'react-native';
import sharedStyles from '../../views/Styles';
export const ROW_HEIGHT = 54;
export default StyleSheet.create({
directoryItemButton: {
2019-12-04 16:39:53 +00:00
height: ROW_HEIGHT
2019-07-18 17:44:02 +00:00
},
directoryItemContainer: {
flex: 1,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center',
paddingHorizontal: 15
},
directoryItemAvatar: {
marginRight: 12
},
directoryItemTextTitle: {
flexDirection: 'row',
alignItems: 'center'
},
directoryItemTextContainer: {
flex: 1,
flexDirection: 'column',
justifyContent: 'center'
},
directoryItemName: {
flex: 1,
fontSize: 17,
2019-12-04 16:39:53 +00:00
...sharedStyles.textMedium
2019-07-18 17:44:02 +00:00
},
directoryItemUsername: {
fontSize: 14,
2019-12-04 16:39:53 +00:00
...sharedStyles.textRegular
2019-07-18 17:44:02 +00:00
},
directoryItemLabel: {
fontSize: 14,
paddingLeft: 10,
2019-12-04 16:39:53 +00:00
...sharedStyles.textRegular
2019-07-18 17:44:02 +00:00
}
});