()
| 232 | } |
| 233 | |
| 234 | export function AIIconsPageSearch() { |
| 235 | let {copiedId, handleCopyImport} = useCopyAIImport(); |
| 236 | |
| 237 | return ( |
| 238 | <div className={style({display: 'flex', flexDirection: 'column', gap: 8})}> |
| 239 | <InfoMessage> |
| 240 | Press an item to copy its import statement. Hover or focus a tile to preview its animation. |
| 241 | See <Link href="ai-components#loaders">Loaders</Link> for more information. |
| 242 | </InfoMessage> |
| 243 | <AIIconListBox |
| 244 | items={aiIconList} |
| 245 | copiedId={copiedId} |
| 246 | onAction={handleCopyImport} |
| 247 | listBoxClassName={style({ |
| 248 | height: 340, |
| 249 | width: '100%', |
| 250 | maxHeight: '100%', |
| 251 | overflow: 'auto', |
| 252 | scrollPaddingY: 4 |
| 253 | })} |
| 254 | /> |
| 255 | </div> |
| 256 | ); |
| 257 | } |
nothing calls this directly
no test coverage detected