import { ChangeEvent, ReactNode } from "react"; import { ComponentPropsWithoutRef } from "react"; interface TextfieldProps extends ComponentPropsWithoutRef<"input"> {} function Textfield({value, onChange, placeholder}: TextfieldProps) { return ( ) } function Dropdown() { return (

) } export const Input = { Text: Textfield, Select: Dropdown, };