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