UNPKG

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