verdnatura-chat/app/containers/DisclosureIndicator.js

26 lines
590 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
}
});
export const DisclosureImage = React.memo(() => <Image source={{ uri: 'disclosure_indicator' }} style={styles.disclosureIndicator} />);
const DisclosureIndicator = React.memo(() => (
<View style={styles.disclosureContainer}>
<DisclosureImage />
</View>
));
export default DisclosureIndicator;