Icons in the label inside the data array
See original GitHub issueIs it possible to enter icons in the label inside the data array? I need to put several, I get one and two into an array but the app breaks and starts again when I select it …
const data = [{ key: index++, label: [<Icon name="ios-man" key={1} size={34} />, <Icon name="ios-man" key={1} size={34} />]}]
Magnificent bookstore, thank you!
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Rendering Material-UI icons from an array - Stack Overflow
Very basic. Problem: I would like to include a material-ui icon component in the menuItems array so the icon can be rendered next...
Read more >From Nested Donuts to an Icon Array | Depict Data Studio
In this post, let's transform an inaccurate, story-less visualization into an accurate, engaging visualization that gets straight to the point.
Read more >Converting an array/adding labels : r/typescript - Reddit
It works fine. This is why I'm thinking I have to add the label and value fields to my existing name array. Am...
Read more >How to Create Icon Arrays in Adobe XD - Freshspectrum
You can create an icon array using this approach with any kind of icon you have. It can be shape you've drawn (like...
Read more >Input | Quasar Framework
The QInput component is used to capture text input from the user. It uses v-model , similar to a regular input. It has...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The cancel button’s string can be changed with the
cancelText
prop. https://github.com/peacechen/react-native-modal-selector#propsThanks for testing the new feature. I’ll publish a new version on NPM soon.
I added the feature to support custom components in the list. Refer to the Readme for instructions and the SampleApp for a working demo. Simply provide a
component
key in addition tolabel
in the data set.Please test this by pointing directly to this repo in your package.json: