diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 970b310c..67c03a54 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -31,7 +31,7 @@ This library is a collection of React hooks so a proposal for a new hook will ne ### Creating a new hook -1. Create `src/useYourHookName.ts` and `src/stories/useYourHookName.story.tsx`, run `yarn start` to start the storybook development server and start coding your hook +1. Create `src/useYourHookName.ts` and `stories/useYourHookName.story.tsx`, run `yarn start` to start the storybook development server and start coding your hook 1. Create `tests/useYourHookName.test.ts`, run `yarn test:watch` to start the test runner in watch mode and start writing tests for your hook 1. Create `docs/useYourHookName.md` and create documentation for your hook 1. Export your hook from `src/index.ts` and add your hook to `README.md`