[Feature Request] allow for array in IndicatorIcon prop
See original GitHub issueI’m trying to build an image gallery where the indicators are thumbnails. It would be awesome to set a check in the Indicator function component to check if props.IndicatorIcon is an array. If so, in the loop that builds the indicators use
var item = _react2.default.createElement(
_IconButton2.default,
{
key: i,
className: className,
style: style,
onClick: function onClick() {
props.press(i);
},
size: 'small'
},
IndicatorIcon[i]
);
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Type for different types inside array · Issue #115 ... - GitHub
I want to propose a feature regarding the @Type() decorator: If I have an Array of different objects (not completely different, ...
Read more >Feature request: allow "array" properties to define an ... - GitLab
Description: Array properties cannot define an enumerator, which is bad because you can have many array properties within one class but only one ......
Read more >Tabs - inmation Docs!
Compilation object: A single object containing a valid compilation. WebStudio looks for the presence of the version (string) and widgets (array) properties to ......
Read more >react-material-ui-carousel | Yarn - Package Manager
Fixes issues 20, 61, 66. The first carousel item now renders without an "initial" animation. Implements feature request 92. (Breaking) The timeout prop...
Read more >allow the Many to One node to create an array in case of ...
The simplest way to do this now is (according to me) with the following sequence: Column Splitter -> Unpivot -> Row Filter ->...
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
@nicolasmartinez0510 Do a pull request with your changes, whether they are code or documentation changes, so I can review them.
I usually use the
/demo
folder to do my tests. Copy the whole/src
code into/demo/src/components/Carousel
and then import the Carousel from the Example components like this:Edit the copied Carousel code to your liking and test simultaneously. After you’re done update the actual Carousel code by copying back into the
/src
folder.