[go: up one dir, main page]

generate Stories from examples

idea I haven't had the chance to dig into further.

If we generate stories from the examples folder, then it auto adds entries to the sidebar.

So instead of:

Screen_Shot_2019-01-03_at_2.14.21_pm

We'd have:

Screen_Shot_2019-01-03_at_2.15.45_pm

This would mean:

  • no duplication
  • Examples get screenshots & tested.
  • Example files import required components. No more globals!

Things to consider:

  • would docs etc need to be duplicated between different examples?