import React from 'react'; import PropTypes from 'prop-types'; import { Text, Label } from '../../component-library'; import { TEXT_TRANSFORM, BackgroundColor, TextColor, FONT_WEIGHT, BorderRadius, TypographyVariant, } from '../../../helpers/constants/design-system'; const CustodyLabels = (props) => { const { labels, index, background, hideNetwork } = props; const filteredLabels = hideNetwork ? labels.filter((item) => item.key !== 'network_name') : labels; return ( ); }; CustodyLabels.propTypes = { labels: PropTypes.array, index: PropTypes.string, background: PropTypes.string, hideNetwork: PropTypes.bool, }; export default CustodyLabels;