Module
Storybook
- Package
- purescript-react-basic-storybook
- Repository
- rowtype-yoga/purescript-react-basic-storybook
#story_ Source
story_ :: forall props opts opts_. Union (RequiredStoryOptions props (Record ()) opts) opts_ (StoryOptions props (Record ()) (Record ()) (Record ())) => Record (RequiredStoryOptions props (Record ()) opts) -> Story#story Source
story :: forall props args argTypes params opts opts_. SameKeys args argTypes => Union (RequiredStoryOptions props (Record args) opts) opts_ (StoryOptions props (Record args) (Record argTypes) (Record params)) => Record (RequiredStoryOptions props (Record args) opts) -> Story#simpleStory Source
simpleStory :: forall props. props -> Story#parameters Source
parameters :: forall r. r -> MetaParameters#playFunction Source
playFunction :: ({ canvasElement :: CanvasElement } -> Aff Unit) -> PlayFunction#loaderFunction Source
loaderFunction :: forall a. (Foreign -> Aff (Record a)) -> LoaderFunction#metaDecorator Source
metaDecorator :: (JSX -> JSX) -> MetaDecoratorRe-exports from Storybook.Types 
#StoryOptions Source
type StoryOptions :: Type -> Type -> Type -> Type -> Row Typetype StoryOptions props args argTypes params = RequiredStoryOptions props args (argTypes :: argTypes, args :: args, decorators :: Array (StoryDecorator args argTypes), name :: String, parameters :: params, play :: PlayFunction)
#StoryContext Source
type StoryContext args argTypes = { argTypes :: argTypes, args :: args, globals :: Record (), hooks :: Record (), parameters :: Record (), viewMode :: String }#PlayFunction Source
data PlayFunction#MetaR Source
type MetaR :: Type -> Row Typetype MetaR props = (argTypes :: ArgTypes, args :: Args, component :: Effect props, decorators :: Array MetaDecorator, excludeStories :: Array String, id :: String, includeStories :: Array String, loaders :: Array LoaderFunction, parameters :: MetaParameters, play :: PlayFunction, tags :: Array String, title :: String)
#MetaParameters Source
data MetaParameters#MetaDecorator Source
data MetaDecorator#LoaderFunction Source
data LoaderFunction