Skip to content

React Components with Storybook

Notifications You must be signed in to change notification settings

jklewa/storybook-signupform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Storybook Sign Up Form

Using create-react-app as a starting point.

  • npx create-react-app .

Adding storybook for developing components in isolation.

  • npx storybook@next init
  • npm run storybook

Most of the code is in:

  • src/SignUpForm.jsx

Storybook stories, for demonstrating form validation and onSubmit behavior, are defined in:

  • src/SignUpForm.stories.js

To demonstrate the SignUpForm component

Example screenshot

storybook ui

About

React Components with Storybook

Resources

Stars

Watchers

Forks