(names: string[])
| 494 | } |
| 495 | |
| 496 | export function preloadComponentImages(names: string[]) { |
| 497 | for (let key of names) { |
| 498 | let v = componentIllustrations[key]; |
| 499 | if (v) { |
| 500 | let [light, dark] = v; |
| 501 | preloadImage(light, dark); |
| 502 | } else if (/^v\d/.test(key)) { |
| 503 | preloadImage(BackgroundLight, BackgroundDark); |
| 504 | } |
| 505 | } |
| 506 | } |
| 507 | |
| 508 | const illustrationContainer = style({ |
| 509 | width: 'full', |
no test coverage detected