"use client"; import { useState } from "react"; import TextInput from "../components/TextInput"; import SelectInput from "../components/SelectInput"; export default function ComponentsPreview() { const [defaultInputValue, setDefaultInputValue] = useState(""); const [activeInputValue, setActiveInputValue] = useState(""); const [errorInputValue, setErrorInputValue] = useState(""); const [selectValue, setSelectValue] = useState(""); return (

Component Preview

Temporary page for viewing and testing new components

{/* Text Input Section */}

Text Input Component

States

setDefaultInputValue(e.target.value)} /> setActiveInputValue(e.target.value)} /> setErrorInputValue(e.target.value)} error />
{/* Select Input Section */}

Select Input Component

States

setSelectValue(data.target.value)} options={[ { value: "option1", label: "Option 1" }, { value: "option2", label: "Option 2" }, { value: "option3", label: "Option 3" }, ]} />
); }