import { InputHTMLAttributes, ReactNode } from 'react'; import classnames from 'classnames'; import { HStack, VStack } from './Stacks'; interface Props extends InputHTMLAttributes { name: string; label: string; hideLabel?: boolean; labelClassName?: string; leftSlot?: ReactNode; rightSlot?: ReactNode; } export function Input({ label, labelClassName, hideLabel, className, name, leftSlot, rightSlot, ...props }: Props) { const id = `input-${name}`; return ( {leftSlot} {rightSlot} ); }