import { Component } from '@angular/core'; import { AccessibilityModule } from '@ux-aspects/ux-aspects'; import { BaseDocumentationSection } from '../../../../../components/base-documentation-section/base-documentation-section'; import { SnippetComponent } from '../../../../../components/snippet/snippet.component'; import { DocumentationSectionComponent } from '../../../../../decorators/documentation-section-component'; import { IPlayground } from '../../../../../interfaces/IPlayground'; import { IPlaygroundProvider } from '../../../../../interfaces/IPlaygroundProvider'; import { playgroundAdapter } from '../../../../../services/playground/adapters/legacy-playground-adapter'; @Component({ selector: 'uxmd-icon-buttons', templateUrl: 'icon-buttons.component.html', imports: [AccessibilityModule, SnippetComponent], }) @DocumentationSectionComponent('IconButtonsDocumentationComponent') export class IconButtonsDocumentationComponent extends BaseDocumentationSection implements IPlaygroundProvider { playground: IPlayground = playgroundAdapter({ html: this.snippets.raw.appHtml, }); constructor() { super( import.meta.webpackContext('./snippets/', { recursive: false, regExp: /\.(html|css|js|ts)$/, }) ); } }