Rocket.Chat.ReactNative/app/containers/DisclosureIndicator.js

23 lines
518 B
JavaScript

import React from 'react';
import { View, Image, StyleSheet } from 'react-native';
const styles = StyleSheet.create({
disclosureContainer: {
marginLeft: 6,
marginRight: 9,
alignItems: 'center',
justifyContent: 'center'
},
disclosureIndicator: {
width: 20,
height: 20
}
});
const DisclosureIndicator = React.memo(() => (
<View style={styles.disclosureContainer}>
<Image source={{ uri: 'disclosure_indicator' }} style={styles.disclosureIndicator} />
</View>
));
export default DisclosureIndicator;