{"size": 894, "ext": "js", "max_stars_repo_path": "app/containers/DisclosureIndicator.js", "max_stars_repo_name": "1337soldier/RocketApp", "max_stars_repo_stars_event_min_datetime": "2021-03-03T15:02:44.000Z", "max_stars_repo_stars_event_max_datetime": "2021-03-03T15:02:44.000Z", "max_issues_repo_path": "app/containers/DisclosureIndicator.js", "max_issues_repo_name": "1337soldier/RocketApp", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/containers/DisclosureIndicator.js", "max_forks_repo_name": "1337soldier/RocketApp", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 22.9230769231, "max_line_length": 63, "alphanum_fraction": 0.7102908277}
import React from 'react';
import { View, StyleSheet } from 'react-native';
import PropTypes from 'prop-types';

import { themes } from '../constants/colors';
import { CustomIcon } from '../lib/Icons';

const styles = StyleSheet.create({
	disclosureContainer: {
		marginLeft: 6,
		marginRight: 9,
		alignItems: 'center',
		justifyContent: 'center'
	}
});

export const DisclosureImage = React.memo(({ theme }) => (
	<CustomIcon
		name='chevron-right'
		color={themes[theme].auxiliaryText}
		size={20}
	/>
));
DisclosureImage.propTypes = {
	theme: PropTypes.oneOfType([PropTypes.string, PropTypes.bool])
};

const DisclosureIndicator = React.memo(({ theme }) => (
	<View style={styles.disclosureContainer}>
		<DisclosureImage theme={theme} />
	</View>
));
DisclosureIndicator.propTypes = {
	theme: PropTypes.oneOfType([PropTypes.string, PropTypes.bool])

};

export default DisclosureIndicator;
