fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

ChoiceGroup: Add a way to provide icons (or other content) to render for individual items.

Open jakeaaronson opened this issue 10 years ago • 2 comments

The ChoiceGroup has an optional imageSrc string parameter. How can I give it a Icon like the one below. <i className='ms-Icon ms-Icon-star' /> let me know if the question is not clear.

jakeaaronson avatar Jul 27 '16 00:07 jakeaaronson

The imageSrc parameter is to specify a URL with an image to display, and doesn't support an icon element right now. It looks like the image area is always 50x50, so an icon option could be added. I'll mark this as a feature request that we can look into supporting.

mikewheaton avatar Jul 28 '16 16:07 mikewheaton

Feature is added in https://github.com/OfficeDev/office-ui-fabric-react/pull/982; closing this request

atneik avatar Feb 16 '17 22:02 atneik