(names: string[])
| 388 | } |
| 389 | |
| 390 | export function preloadComponentImages(names: string[]) { |
| 391 | for (let key of names) { |
| 392 | let v = componentIllustrations[key]; |
| 393 | if (v) { |
| 394 | let [light, dark] = v; |
| 395 | preloadImage(light, dark); |
| 396 | } else if (/^v\d/.test(key)) { |
| 397 | preloadImage(BackgroundLight, BackgroundDark); |
| 398 | } |
| 399 | } |
| 400 | } |
| 401 | |
| 402 | const illustrationContainer = style({ |
| 403 | width: 'full', |
no test coverage detected