react-shop / react-ecommerce

E-commerce monorepo application using NextJs, React, React-native, Design-System and Graphql with Typescript
MIT License
196 stars 56 forks source link

adding storybook actions #34

Closed MateusAndrade closed 4 years ago

MateusAndrade commented 4 years ago

Pull request checklist

Please check if your PR fulfills the following requirements:

Pull request type

Please check the type of change your PR introduces:

What is the current behavior?

What is the new behavior?

This PR introduces a new prop to Button called onClick, which receives a normal click event from React. And config Storybook actions and console.

Does this introduce a breaking change?

Other information

Screenshots (optional)