It would be very convenient to have the ability to customize the rendering of details, similar to how it’s done with the header in CompletionSection. This would greatly help me, as it would allow inserting elements like an icon.
If you have no objections, I can submit a pull request.
What did you want to change about the detail rendering? It seems that, since they are just a piece of text, most things you’d want to change about them could be done with styling. Failing that, you could style them to be display: none and use addToOptions to render them differently.