import { Component, computed, input } from '@angular/core'; import { MarkdownPipe } from './markdown.pipe'; import { ApiMember } from '@ngrx-io/shared'; @Component({ selector: 'ngrx-symbol-usage-notes', standalone: true, imports: [MarkdownPipe], template: ` @if (notes()) {

{{ '@usageNotes' }}

} `, styles: [ ` .notes { display: block; padding: 16px; border-bottom: 1px solid var(--ngrx-border-color); } h3 { font-family: 'Oxanium', monospace; font-size: 15px; font-weight: 700; margin: 0; color: var(--ngrx-link); } code { background: transparent; } `, ], }) export class SymbolUsageNotesComponent { symbol = input.required(); notes = computed(() => this.symbol().docs.usageNotes); }