import React from "react";
import { action } from "@storybook/addon-actions";
import { Button } from "@storybook/react/demo";
export default {
title: "Button",
excludeStories: ["text"],
includeStories: /emoji.*/
};
export const Basic = () => (
);
export const WithParams = () => ;
WithParams.parameters = { foo: 'bar' }
export const WithDocsParams = () => ;
WithDocsParams.parameters = { docs: { iframeHeight: 200 } };
export const WithStorySourceParams = () => ;
WithStorySourceParams.parameters = { storySource: { source: 'foo' } };
const Template = (args: Args) => ;
export const WithTemplate = Template.bind({});
WithTemplate.args = { foo: 'bar' }
export const WithEmptyTemplate = Template.bind();
WithEmptyTemplate.args = { foo: 'baz' };
export const WithAddFunctionParameters = () => null
WithAddFunctionParameters.parameters = {
foobar: () => {
document.addEventListener('foo', () => console.log('bar'))
},
}