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.

397 B
Raw Blame
/* Copyright 2026 Marimo. All rights reserved. */

import { z } from "zod";

/**
 * 'alert' is deprecated. Use 'danger' instead.
 */
export type Intent =
  | "neutral"
  | "success"
  | "warn"
  | "danger"
  | "info"
  | "alert";
export const zodIntent = z
  // 'alert' is deprecated. Use 'danger' instead.
  .enum(["neutral", "success", "warn", "danger", "info", "alert"])
  .default("neutral");