UNPKG

wix-style-react

Version:
33 lines (29 loc) 782 B
import React from 'react'; import TextButton from 'wix-style-react/TextButton'; import { storySettings } from './storySettings'; import icons from '../utils/icons-for-story'; import TextButtonStory from './examples'; export default { category: storySettings.kind, storyName: storySettings.storyName, component: TextButton, componentPath: '../../src/TextButton', componentProps: { as: 'button', children: 'Text button', skin: 'standard', underline: 'none', weight: 'thin', size: 'medium', disabled: false }, exampleProps: { onClick: function onClick() { return 'Clicked!'; }, prefixIcon: icons, suffixIcon: icons, as: ['button', 'a', 'span', 'div'] }, examples: React.createElement(TextButtonStory, null) };