1 | import React from 'react';
|
2 | import { IconItem, IconGallery } from './IconGallery';
|
3 | import { Icons as ExampleIcon } from '../icon/icon';
|
4 | export default {
|
5 | title: 'Docs/IconGallery',
|
6 | component: IconGallery
|
7 | };
|
8 | export var defaultStyle = function defaultStyle() {
|
9 | return React.createElement(IconGallery, null, React.createElement(IconItem, {
|
10 | name: "add"
|
11 | }, React.createElement(ExampleIcon, {
|
12 | icon: "add"
|
13 | })), React.createElement(IconItem, {
|
14 | name: "subtract"
|
15 | }, React.createElement(ExampleIcon, {
|
16 | icon: "subtract"
|
17 | })), React.createElement(IconItem, {
|
18 | name: "home"
|
19 | }, React.createElement(ExampleIcon, {
|
20 | icon: "home"
|
21 | })), React.createElement(IconItem, {
|
22 | name: "facehappy"
|
23 | }, React.createElement(ExampleIcon, {
|
24 | icon: "facehappy"
|
25 | })), React.createElement(IconItem, {
|
26 | name: "bar"
|
27 | }, React.createElement("img", {
|
28 | src: "https://place-hold.it/50x50",
|
29 | alt: "example"
|
30 | })), React.createElement(IconItem, {
|
31 | name: "bar"
|
32 | }, React.createElement("img", {
|
33 | src: "https://place-hold.it/50x50",
|
34 | alt: "example"
|
35 | })));
|
36 | };
|
37 | defaultStyle.displayName = "defaultStyle"; |
\ | No newline at end of file |