Skip to content

A working prototype of how to combine a fake Context Provider with Storybook

Notifications You must be signed in to change notification settings

alexlonginc/StorybookContextPrototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StorybookContextPrototype

A working prototype of how to combine a fake Context Provider with Storybook

Demo

Below is a context-dependent component (CreateScreen) using a fake context provider (FakeNetworkProvider) in storybook (here) to simulate the creation of "things" in a database. In the real app, a real NetworkProvider would be used.

context storybook

About

A working prototype of how to combine a fake Context Provider with Storybook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published