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

Price component #10

Open
Frodigo opened this issue Oct 21, 2021 · 0 comments
Open

Price component #10

Frodigo opened this issue Oct 21, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Frodigo
Copy link
Owner

Frodigo commented Oct 21, 2021

Problem

There is no Price component

Solution

Add Price component as an Atom

User story

  1. As a product owner, I want to
    1. see the Price component in Storybook implemented as Atom
    2. have the possibility to add props to the Price component
      1. currency - {string} - a price currency
      2. currencyPosition - {left|right} position of the currency - default: left
      3. price - {string} - the price to display
      4. specialPrice {string} - special price to display
  2. As a user:
    1. I can see the price with currency
    2. I can see a special price if is applicable

Design/Screenshots

Screen Shot 2021-10-21 at 07 25 49

@Frodigo Frodigo added the enhancement New feature or request label Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant