import type { FormHTMLAttributes } from "react";
import { clsn } from "~utils";
import styles from "./form.module.less";

interface FormProps extends FormHTMLAttributes<HTMLFormElement> {

}

function Form({ children, className, ...props }: FormProps) {
  return (
    <form className={clsn(styles.form, className)} {...props}>
      {children}
    </form>
  );
}

export default Form;
