universe
universe copied to clipboard
SX Design: create a simple Storybook story for `Meter` component
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
- There is a simple Storybook story displaying the
Meter
component (located insrc/sx-design/src/Meter/Meter.js
) in various states. - Readme located in
src/sx-design/README.md
has been updated to reflect the existence of this story. - The PR follows the project conventions (see other Storybook stories in
src/sx-design/src/
for inspiration). - All CI checks pass, and all code review comments are addressed.
Hits for successful completion of this task
- Clone & install the repository dependencies.
- Run
yarn workspace @adeira/sx-design storybook
to see the SX Design Storybook in action. - 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. 😎