Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storybook: Button Component #2

Closed
dpfernandes opened this issue Oct 30, 2021 · 0 comments · Fixed by #74
Closed

Storybook: Button Component #2

dpfernandes opened this issue Oct 30, 2021 · 0 comments · Fixed by #74

Comments

@dpfernandes
Copy link
Contributor

dpfernandes commented Oct 30, 2021

User story

Who: As a developer
What: I want to be have a button component where can have different colors, text and width.
Why: so that I can have the same component in multiple pages.

Acceptance criteria

Create a storybook component like the one we can see highlighted in pink

Screenshot 2021-10-31 at 00 00 37

Check the wireframes here: https://www.figma.com/file/lMeDy1n608SLjsKYrKu1nc/HYF-WebShop?node-id=0%3A1

Implementation details

Use Knobs where we can choose WIDTH, FONTS like Inter and COLORS. For more info check Figma

Add a folder called fonts under assets - /src/client/assets/ and add the font files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment