/*! Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. */ import * as React from 'react'; import Screener from 'screener-storybook/src/screener'; import { storiesOf } from '@storybook/react'; import { FabricDecorator } from '../utilities'; import { Icon, IconType, getIconClassName, Fabric } from 'office-ui-fabric-react'; import * as IconNames from '../../../../packages/icons/src/IconNames'; import { TestImages } from '@uifabric/example-data'; // Rendering allIcons tests that the icon package can initialize all icons from the cdn const allIcons: JSX.Element[] = []; // eslint-disable-next-line guard-for-in for (const iconName in (IconNames as any).IconNames) { allIcons.push(); } storiesOf('Icon', module) .addDecorator(FabricDecorator) .addDecorator(story => // prettier-ignore {story()} , ) .addStory('Root', () => (
{allIcons}
)) .addStory('Color', () => ( )) .addStory('Image', () => ( ));