import { ChangeEvent, ReactNode } from "react";
import { ComponentPropsWithoutRef } from "react";
interface TextfieldProps extends ComponentPropsWithoutRef<"input"> {}
function Textfield({value, onChange, placeholder}: TextfieldProps) {
return (
)
}
function Dropdown({ children, ...props }: ComponentPropsWithoutRef<"select">) {
return (
);
}
export const Input = {
Text: Textfield,
Select: Dropdown,
};