import {z} from "zod";const ButtonSchema = z.object({ text: z.string(), type: z.enum(["primary", "success", "danger"]),});type ButtonProps = z.infer<typeof ButtonSchema>;