import { AfterContentInit, Component, ContentChildren, Input, OnChanges, OnInit, QueryList, TemplateRef } from '@angular/core'
import { MarkdownService } from '@app/core'
+import { GlobalIconName } from '@app/shared/shared-icons'
import { PeerTubeTemplateDirective } from '../angular'
@Component({
export class HelpComponent implements OnInit, OnChanges, AfterContentInit {
@Input() helpType: 'custom' | 'markdownText' | 'markdownEnhanced' = 'custom'
@Input() tooltipPlacement = 'right auto'
+ @Input() iconName: GlobalIconName = 'help'
+ @Input() title = $localize`Get help`
+ @Input() autoClose = 'outside'
@ContentChildren(PeerTubeTemplateDirective) templates: QueryList<PeerTubeTemplateDirective<'preHtml' | 'customHtml' | 'postHtml'>>