mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
17 lines
517 B
TypeScript
17 lines
517 B
TypeScript
import { Component, Input } from '@angular/core'
|
|
import { PkgStatusRendering } from 'src/app/services/pkg-status-rendering.service'
|
|
|
|
@Component({
|
|
selector: 'status',
|
|
templateUrl: './status.component.html',
|
|
styleUrls: ['./status.component.scss'],
|
|
})
|
|
export class StatusComponent {
|
|
@Input() rendering: PkgStatusRendering
|
|
@Input() size?: 'small' | 'medium' | 'large' | 'x-large' = 'large'
|
|
@Input() style?: string = 'regular'
|
|
@Input() weight?: string = 'normal'
|
|
@Input() disconnected?: boolean = false
|
|
}
|
|
|