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

45 lines
835 B
TypeScript
Raw 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: {
height: ROW_HEIGHT,
2019-07-18 17:44:02 +00:00
},
directoryItemContainer: {
flex: 1,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center',
paddingHorizontal: 15,
2019-07-18 17:44:02 +00:00
},
directoryItemAvatar: {
marginRight: 12,
2019-07-18 17:44:02 +00:00
},
directoryItemTextTitle: {
flexDirection: 'row',
alignItems: 'center',
2019-07-18 17:44:02 +00:00
},
directoryItemTextContainer: {
flex: 1,
flexDirection: 'column',
justifyContent: 'center',
2019-07-18 17:44:02 +00:00
},
directoryItemName: {
flex: 1,
fontSize: 17,
...sharedStyles.textMedium,
2019-07-18 17:44:02 +00:00
},
directoryItemUsername: {
fontSize: 14,
...sharedStyles.textRegular,
2019-07-18 17:44:02 +00:00
},
directoryItemLabel: {
fontSize: 14,
paddingLeft: 10,
...sharedStyles.textRegular,
},
2019-07-18 17:44:02 +00:00
});