wix-style-react
Version:
wix-style-react
35 lines (30 loc) • 787 B
JavaScript
import React from 'react';
import Button from 'wix-style-react/Button';
import { storySettings } from './storySettings';
import icons from '../utils/icons-for-story';
import ButtonStory from './examples';
export default {
category: storySettings.kind,
storyName: storySettings.storyName,
component: Button,
componentPath: '../../src/Button/Button.js',
componentProps: {
upgrade: true,
as: 'button',
children: 'Button',
skin: 'standard',
priority: 'primary',
size: 'medium'
},
exampleProps: {
onClick: function onClick() {
return 'Clicked!';
},
prefixIcon: icons,
suffixIcon: icons,
fullWidth: false,
disabled: false,
as: ['button', 'a', 'span', 'div']
},
examples: React.createElement(ButtonStory, null)
};