import { h, JSX } from 'preact'; import clsx from 'clsx'; import styles from './input.module.css'; type Props = { invalid?: boolean; type?: string; className?: string; } & JSX.HTMLAttributes; export function Input({ children, className, type = 'text', invalid, ...props }: Props) { return ( {children} ); }