import styled from '@emotion/styled' const StyledInput = styled.input` padding-bottom: 1px; ` interface InputProps { type: string value: any onChange: (e) => void className?: string disabled?: boolean [x: string]: any } const Group = ({ children, className }) => { return
{children}
} const Input = ({ type, value, onChange, className, wrapperClassName = 'w-full', disabled, prefix, suffix, ...props }: InputProps) => { return (
{prefix ? (
{prefix}
) : null} 9 ? 'text-xs' : ''}`} disabled={disabled} {...props} /> {suffix ? ( {suffix} ) : null}
) } Input.Group = Group export default Input