Module

Halogen.Storybook

#Stories

type Stories m = Object (Component StoryQuery Unit Void m)

Stories config, each story consists of a story name and a component. Note the component needs to be proxied explicitly.

stories :: forall m. Stories m
stories = Object.fromFoldable
  [ Tuple "count" $ proxy $ ExpCount.component

#StoryQuery

#runStorybook

runStorybook :: Config Aff -> HTMLElement -> Aff Unit

Takes stories config and mount element, and renders the storybook.

Re-exports from Halogen.Storybook.Proxy

#proxy

proxy :: forall f i o m. Component f i o m -> Component (Const Void) i Void m

A proxy that hides both the Query and Message of wrapped component.

Modules