Add Paul's Toolbox Contents

This commit is contained in:
2024-03-01 18:33:29 +08:00
parent 65b2b86b78
commit 3ef694a468
28 changed files with 1534 additions and 366 deletions
+17
View File
@@ -0,0 +1,17 @@
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;