Skip to content

The Open Standard for Generative UI

338 B
Raw Blame
import { defineComponent } from "@openuidev/react-lang";
import { z } from "zod/v4";

export const SliceSchema = z.object({
  category: z.string(),
  value: z.number(),
});

export const Slice = defineComponent({
  name: "Slice",
  props: SliceSchema,
  description: "One slice with label and numeric value",
  component: () => null,
});