import { h, JSX } from 'preact'; import { forwardRef } from 'preact/compat'; import b, { Mods, Mix } from 'bem-react-helper'; import type { Theme } from 'common/types'; export type InputProps = { kind?: 'primary' | 'secondary'; theme?: Theme; mods?: Mods; mix?: Mix; type?: string; } & Omit; export const Input = forwardRef( ({ children, theme, mods, mix, type = 'text', ...props }, ref) => ( {children} ) );