(names: string[])
| 443 | } |
| 444 | |
| 445 | export function preloadComponentImages(names: string[]) { |
| 446 | for (let key of names) { |
| 447 | let v = componentIllustrations[key]; |
| 448 | if (v) { |
| 449 | let [light, dark] = v; |
| 450 | preloadImage(light, dark); |
| 451 | } else if (/^v\d/.test(key)) { |
| 452 | preloadImage(BackgroundLight, BackgroundDark); |
| 453 | } |
| 454 | } |
| 455 | } |
| 456 | |
| 457 | const illustrationContainer = style({ |
| 458 | width: 'full', |
no test coverage detected