defmodule PyrauiWeb.DocsLive.DiffDocs do use PyrauiWeb, :html def render(assigns) do ~H"""
Diff component for side-by-side comparison of two items (text, code, etc.).
<.diff left="Old content" right="New content" />
| Prop | Type | Default | Description |
|---|---|---|---|
| left | string | - | Left side content |
| right | string | - | Right side content |
| type | atom | :text | Content type (:text or :code) |