Svg Icon for Power preview module (#1718)

* Added svg icon for power preview

* Updated bundle.js
This commit is contained in:
udit3333 2020-03-26 13:58:52 -07:00 committed by GitHub
parent 38fc9f00a2
commit 15cefc664a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,5 @@
import React from 'react';
import {registerIcons} from 'office-ui-fabric-react';
import {Icon} from 'office-ui-fabric-react/lib/Icon';
import {initializeIcons} from './icons/src';
// Import SVG files for the icons here.
@ -8,6 +7,7 @@ import FancyZonesSVG from './svg/fancy_zones.svg';
import PowerRenameSVG from './svg/power_rename.svg';
import ShortcutGuideSVG from './svg/shortcut_guide.svg';
import ImageResizerSVG from './svg/image_resizer.svg';
import PowerPreviewSVG from './svg/power_preview.svg';
export function setup_powertoys_icons(): void {
initializeIcons('icons/fonts/');
@ -17,7 +17,7 @@ export function setup_powertoys_icons(): void {
'pt-fancy-zones': ( <FancyZonesSVG /> ),
'pt-power-rename': ( <PowerRenameSVG /> ),
'pt-shortcut-guide': ( <ShortcutGuideSVG /> ),
'pt-power-preview': ( <Icon iconName="FabricReportLibrary" /> ),
'pt-power-preview': (<PowerPreviewSVG /> ),
'pt-image-resizer': ( <ImageResizerSVG />) ,
}
});

View File

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048" width="15" height="15">
<path fill="currentColor" d="M2048 512v256h-128V512h-704q-56 0-90 9t-58 24-41 31-37 31-50 23-76 10H128v896h128v128H128q-27 0-50-10t-40-27-28-41-10-50V256q0-27 10-50t27-40 41-28 50-10h736q37 0 69 13t58 36 49 51 39 59q13 23 25 41t28 30 35 19 49 7h704q27 0 50 10t40 27 28 41 10 50zm-1184 0q27 0 45-9t35-22 34-28 39-28q-15-17-31-45t-36-56-40-48-46-20H128v256h736zM384 896h1664v1152H384V896zm1536 1024v-896H512v896h1408zm-128-768v128h-384v-128h384zm-128 256v128h-256v-128h256zm0 256v128h-256v-128h256zm-384-512v640H640v-640h640zm-128 512v-384H768v384h384z" />
</svg>

After

Width:  |  Height:  |  Size: 653 B

File diff suppressed because one or more lines are too long