/**
 * Widget component registry - React-specific definitions
 */

import type { ComponentType } from "react";
import type { WidgetProps } from "@mosaic/shared";

/**
 * Widget component registry
 */
export interface WidgetComponent {
  name: string;
  displayName: string;
  description: string;
  component: ComponentType<WidgetProps>;
  defaultWidth: number;
  defaultHeight: number;
  minWidth: number;
  minHeight: number;
  maxWidth?: number;
  maxHeight?: number;
}
