Raxol.Playground.Preview (Raxol v2.0.1)

View Source

Live preview generation for Raxol components.

This module handles rendering components with their current props and state, generating terminal output that shows how the component will appear.

Summary

Functions

Generates a preview of a component with given props and state.

Functions

generate(component, props \\ %{}, state \\ %{}, opts \\ [])

Generates a preview of a component with given props and state.