import React from "react";

interface SlideDeleteProps {
  pid: string | number;
  pinned?: boolean;
  onAction?: (e: any) => void;
  children: React.ReactNode; // 建议用 React.ReactNode
}
declare global {
  namespace JSX {
    interface IntrinsicElements {
      "slide-delete":  SlideDeleteProps;
      "slide-contact":  SlideDeleteProps;
      // 你可以继续添加其它自定义组件
    }
  }
}