Initial commit

This commit is contained in:
Sebastian Korotkiewicz 2024-05-28 08:08:42 +02:00
commit b344a74a72
Signed by: skorotkiewicz
GPG key ID: 5BDC557B496BDB0D
45 changed files with 1232 additions and 0 deletions

15
components/Input.tsx Normal file
View file

@ -0,0 +1,15 @@
import React, { InputHTMLAttributes } from "react";
interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
id: string;
}
export function Input({ id, ...props }: InputProps) {
return (
<label style={{ display: "block" }}>
<span style={{ fontSize: "0.91em" }}>{id}</span>
<br />
<input id={id} size={20} {...props}></input>
</label>
);
}