import { ReactNode } from "react";

export interface FormInputProps {
  placeholder?: string;
  description?: string;
  required?: boolean;
  className?: string;
}

export interface FormInputWithIconProps {
  leadIcon?: React.ElementType;
  trailIcon?: React.ElementType;
}

export interface FormButtonInputProps {
  onClick?: (event: React.SyntheticEvent) => void;
}

export interface FormInputWithButtonProps {
  withButton: boolean;
  onButtonClick: (event: React.SyntheticEvent) => void;
}

export interface FormDialogInputProps {
  content: ReactNode;
  onClose?: (event: React.SyntheticEvent, payload: unknown) => void;
}
