Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jakeaaronson opened this issue Jul 27, 2016 · 2 comments

Comments

@jakeaaronson
Copy link

jakeaaronson commented Jul 27, 2016

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.

@mikewheaton
Copy link
Contributor

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.

@dzearing dzearing changed the title question about the ChoiceGroup ChoiceGroup: Add a way to provide icons (or other content) to render for individual items. Nov 18, 2016
@atneik
Copy link
Contributor

atneik commented Feb 16, 2017

Feature is added in #982; closing this request

@atneik atneik closed this as completed Feb 16, 2017
svaibhav pushed a commit to pKalaga/fluentui that referenced this issue Jul 29, 2019
@microsoft microsoft locked as resolved and limited conversation to collaborators Sep 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants