Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

1.5 KB
Raw Blame
/* Copyright 2026 Marimo. All rights reserved. */
import { CalloutOutput } from "@/components/editor/output/CalloutOutput";

export default {
  title: "CalloutOutput",
  component: CalloutOutput,
};

export const Neutral = {
  render: () => (
    <CalloutOutput
      html="<p><b>NEUTRAL</b> CalloutOutput with <strong>HTML</strong></p>"
      kind="neutral"
    />
  ),

  name: "neutral",
};

export const Info = {
  render: () => (
    <CalloutOutput
      html="<p><b>INFO</b> CalloutOutput with <strong>HTML</strong></p>"
      kind="info"
    />
  ),

  name: "info",
};

export const Alert = {
  render: () => (
    <CalloutOutput
      html="<p><b>ALERT</b> CalloutOutput with <strong>HTML</strong></p>"
      kind="alert"
    />
  ),

  name: "alert",
};

export const Danger = {
  render: () => (
    <CalloutOutput
      html="<p><b>DANGER</b> CalloutOutput with <strong>HTML</strong></p>"
      kind="danger"
    />
  ),

  name: "danger",
};

export const Warn = {
  render: () => (
    <CalloutOutput
      html="<p><b>WARN</b> CalloutOutput with <strong>HTML</strong></p>"
      kind="warn"
    />
  ),

  name: "warn",
};

export const Success = {
  render: () => (
    <CalloutOutput
      html="<p><b>SUCCESS</b> CalloutOutput with <strong>HTML</strong></p>"
      kind="success"
    />
  ),

  name: "success",
};

export const WithTitle = {
  render: () => (
    <CalloutOutput
      html="<p>CalloutOutput with a title and <strong>HTML</strong></p>"
      kind="warn"
      title="Watch out"
    />
  ),

  name: "with title",
};