defmodule PyrauiWeb.DocsLive.DiffDocs do use PyrauiWeb, :html def render(assigns) do ~H"""

Diff

Diff component for side-by-side comparison of two items (text, code, etc.).

Text Diff


              <.diff left="Old content" right="New content" />
            

Code Diff

Props

Prop Type Default Description
left string - Left side content
right string - Right side content
type atom :text Content type (:text or :code)
""" end end