import * as React from "react";

export function Form(
  props: React.PropsWithChildren<{
    id: string;
    onSubmit: (e: React.FormEvent) => any;
  }>,
) {
  return (
    <form id={props.id} onSubmit={props.onSubmit} className="space-y-3">
      {props.children}
    </form>
  );
}
