({item})
| 151 | } |
| 152 | |
| 153 | function IconItem({item}) { |
| 154 | let Icon = item.icon; |
| 155 | let ref = useRef(null); |
| 156 | return ( |
| 157 | <ListBoxItem |
| 158 | id={item.id} |
| 159 | value={item} |
| 160 | textValue={item.id} |
| 161 | className={itemStyle} |
| 162 | ref={ref} |
| 163 | style={pressScale(ref)}> |
| 164 | <Icon /> |
| 165 | </ListBoxItem> |
| 166 | ); |
| 167 | } |
nothing calls this directly
no test coverage detected