Skip to content

Commit

Permalink
Updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
anaximander committed Mar 12, 2024
1 parent 48788e7 commit 404970b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ To run Storybook locally, use `yarn storybook`, and follow the instructions in t
1. Define the component to be built and name it. The examples ahead use the name `MyComponent`.

2. Clone this repository if you haven't already, and create a new branch off of the `main` branch, using kebab-case (e.g., `my-component`)

`git checkout -b my-component`

3. In your new branch, create a new directory under `./src/components/` with that name, using PascalCase (e.g., `./src/components/MyComponent/`

`mkdir ./src/components/MyComponent/`

4. In that directory, create a new React functional component for your component (e.g., `MyComponent.tsx`). This can start by just returning a simple [Fragment](https://react.dev/reference/react/Fragment):
Expand Down

0 comments on commit 404970b

Please sign in to comment.