/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
adev/shared-docs/pipeline/examples/previews/previews.template
17 строк
609 B
Miles Malerba
docs: Add back script to generate example previews map (#60778)
12 апр 2025, 00:19
12 апр 2025, 00:19
427bb5a
Код
Авторство
О чём код?
/*! * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {Type} from '@angular/core'; /** * Map of the previews components, values are functions which returns the promise of the component type, which will be displayed as preview in the ExampleViewer component. * Keys has to be equal to paths written down in the docs markdown files. */ export const PREVIEWS_COMPONENTS_MAP: Record<string, () => Promise<Type<unknown>>> = { ${previewsComponents} };