ACS-8227: remove internal mime type icon pipe (#10142)

This commit is contained in:
Denys Vuika
2024-09-10 10:07:18 -04:00
committed by GitHub
parent b1260e06ea
commit b1abe2c8a6
16 changed files with 31 additions and 123 deletions

View File

@@ -49,11 +49,14 @@ and icons is shown in the table below:
All the ADF icons for MIME types are now registered into the [`MatIconRegistry`](https://material.angular.io/components/icon/api), so you can use all
the icons via the <mat-icon> tag:
```javascript
```typescript
import { ThumbnailService } from '@alfresco/adf-core';
constructor(public thumbnailService: ThumbnailService) {
}
class MyComponent {
constructor(public thumbnailService: ThumbnailService) {
}
}
```
```html
@@ -62,7 +65,3 @@ PDF <mat-icon svgIcon="application/pdf"></mat-icon>
GIF <mat-icon svgIcon="image/gif"></mat-icon>
.....
```
## See also
- [Mime type icon pipe](../pipes/mime-type-icon.pipe.md)