import { Box, HStack, Text } from '@metafam/ds'; import React from 'react'; import { FaTimes } from 'react-icons/fa'; export type ProfileSectionProps = { title?: string; children?: React.ReactNode; onRemoveClick?: () => void; canEdit?: boolean; }; // TODO If MetaBox is only used for Player profile maybe merge both component export const ProfileSection: React.FC = ({ children, title, onRemoveClick, canEdit, }) => ( {title ? ( {title} {canEdit ? ( ) : null} ) : null} {children} );