Readdy Write

SharePoint Icons

17.03.2020 (๐Ÿ‘9139)

SharePoint Icons

 

Icon Fabric

Unter

https://developer.microsoft.com/en-us/fabric#/styles/web/icons

Microsoft Office App Icons

Unter https://developer.microsoft.com/en-us/fabric#/styles/web/office-brand-icons

<div class="ms-BrandIcon--icon96 ms-BrandIcon--word" />

 

Microsoft Office Datei-Typ Icons

Unter

https://developer.microsoft.com/en-us/fabric#/styles/web/file-type-icons

File-type icon examples

 

Einbinden in SharePoint mit diesem Code

// Done by the app.

import { initializeFileTypeIcons } from โ€˜@uifabric/file-type-iconsโ€™;

initializeFileTypeIcons(/* optional base url */);

// Done in components

import { Icon } from 'office-ui-fabric-react';

import { getFileTypeIconProps, FileIconType } from '@uifabric/file-type-icons';

<Icon {...getFileTypeIconProps({ extension: 'docx', size: 96, imageFileType: 'png' }) } />

<Icon {...getFileTypeIconProps({ type: FileIconType.folder, size: 20, imageFileType: 'svg' }) } />

 

 

 


0,00 €