Module

Storybook.Types

Package
purescript-react-basic-storybook
Repository
rowtype-yoga/purescript-react-basic-storybook

#StoryDecorator Source

data StoryDecorator t0 t1

#StoryContext Source

type StoryContext args argTypes = { argTypes :: argTypes, args :: args, globals :: Record (), hooks :: Record (), parameters :: Record (), viewMode :: String }

#MetaDecorator Source

#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)

#MetaComponent Source

#LoaderFunction Source

#PlayFunction Source

#Args Source

data Args

#ArgTypes Source

#MetaParameters Source

#Meta Source

data Meta

#Story Source

data Story

#RequiredStoryOptions Source

type RequiredStoryOptions :: Type -> Type -> Row Type -> Row Typetype RequiredStoryOptions props args r = (component :: Effect (props -> JSX), render :: (props -> JSX) -> args -> JSX | r)

#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)

#ActionArg Source