UNPKG

wix-style-react

Version:
33 lines (28 loc) 809 B
import React from 'react'; import IconButton from 'wix-style-react/IconButton'; import { storySettings } from './storySettings'; import More from 'wix-style-react/new-icons/More'; import IconButtonStory from './examples'; import icons from '../utils/icons-for-story'; export default { category: storySettings.kind, storyName: storySettings.storyName, component: IconButton, componentPath: '../../src/IconButton', componentProps: { as: 'button', children: React.createElement(More, null), skin: 'standard', priority: 'primary', size: 'medium', disabled: false }, exampleProps: { onClick: function onClick() { return 'Clicked!'; }, children: icons, as: ['button', 'a', 'span', 'div'] }, examples: React.createElement(IconButtonStory, null) };