/
githubmirror
/
tabby
Обзор
Документация
Войти
/
githubmirror
/
tabby
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tabby-core/src/components/profileIcon.component.ts
18 строк
530 B
Eugene
Revert "wsl: Get the distro icon from the package family name"
19 июл 2024, 00:57
Не верифицирован
19 июл 2024, 00:57
72a5da5
Код
Авторство
О чём код?
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ import { Component, Input } from '@angular/core' import { BaseComponent } from './base.component' /** @hidden */ @Component({ selector: 'profile-icon', templateUrl: './profileIcon.component.pug', styleUrls: ['./profileIcon.component.scss'], }) export class ProfileIconComponent extends BaseComponent { @Input() icon?: string @Input() color?: string get isHTML (): boolean { return this.icon?.startsWith('<') ?? false } }