universe icon indicating copy to clipboard operation
universe copied to clipboard

SX Design: create a simple Storybook story for `Meter` component

Open mrtnzlml opened this issue 1 year ago • 0 comments

The final goal is to have a Storybook story for the Meter component so that everyone can see what it looks like rendered.

Acceptance criteria

  1. There is a simple Storybook story displaying the Meter component (located in src/sx-design/src/Meter/Meter.js) in various states.
  2. Readme located in src/sx-design/README.md has been updated to reflect the existence of this story.
  3. The PR follows the project conventions (see other Storybook stories in src/sx-design/src/ for inspiration).
  4. All CI checks pass, and all code review comments are addressed.

Hits for successful completion of this task

  1. Clone & install the repository dependencies.
  2. Run yarn workspace @adeira/sx-design storybook to see the SX Design Storybook in action.
  3. Create a new file, src/sx-design/src/Meter/Meter.stories.js, where the story should be located.

How to install and run this project

git clone --depth=100 [email protected]:adeira/universe.git
cd universe
corepack enable

chmod +x ./x
./x install

To run JavaScript tests:

./x tests

For more information, please visit README.md located at the root of this project. If you get lost, you can also start a new discussion. 😎

mrtnzlml avatar Sep 14 '22 03:09 mrtnzlml