import React from 'react'; import PropTypes from 'prop-types'; import Box from '../../../ui/box'; import { Color, AlignItems, JustifyContent, DISPLAY, BLOCK_SIZES, IconColor, TextVariant, } from '../../../../helpers/constants/design-system'; import { Icon, IconName, IconSize, Text } from '../../../component-library'; import SnapAvatar from '../snap-avatar'; const SnapSettingsCard = ({ name, packageName, onClick, snapId }) => { return ( {name} {packageName} ); }; SnapSettingsCard.propTypes = { /** * Name of the snap used for the title of the card and fallback letter for the snap icon */ name: PropTypes.string, /** * Name of a snap package */ packageName: PropTypes.string, /** * onClick function of the "See Details" Button */ onClick: PropTypes.func, /** * ID of a snap. */ snapId: PropTypes.string.isRequired, }; export default SnapSettingsCard;