how do i handle the delete button without rendering the child component , the delete button must appear inside the card wether rendered by the parent or child component. i