komponensek frissitese

This commit is contained in:
2025-05-22 03:54:28 +02:00
parent c4b86143bf
commit 48c29d81d0
5 changed files with 38 additions and 19 deletions
@@ -1,10 +1,27 @@
import { useState } from "react";
import Button from "../../components/Buttons/Button";
import InputBox from "../../components/Inputs/InputBox";
export default function Test() {
return (
<div className="bg-red-100 text-white p-4">
<p className="text-piros">Test</p>
<div className="w-full h-screen flex flex-col items-center justify-center">
<InputBox
placeholder="Input"
type="text"
width="w-1/2"
onChange={(e) => {
console.log(value);
}}
/>
<Button
text="Button"
type="button"
width="w-1/2"
onClick={() => {
console.log("Button clicked");
}}
/>
</div>
);
}