PhoenixStorybook.Story.PageBehaviour behaviour (phoenix_storybook v0.9.1)

View Source

Behaviour implemented by any page story

Summary

Callbacks

navigation()

@callback navigation() :: [
  {atom(), String.t(), PhoenixStorybook.Components.Icon.t()}
  | {atom(), String.t()}
]

render(map)

@callback render(map()) :: %Phoenix.LiveView.Rendered{
  caller: term(),
  dynamic: term(),
  fingerprint: term(),
  root: term(),
  static: term()
}