import React from 'react'; import PropTypes from 'prop-types'; import Label from '../Label'; import classnames from 'classnames'; const baseInputClasses = 'shadow transition duration-300 appearance-none border border-primary-main hover:border-gray-500 focus:border-gray-500 focus:outline-none rounded w-full py-2 px-3 text-sm text-white leading-tight focus:outline-none'; const transparentClasses = { true: 'bg-transparent', false: 'bg-black', }; const Input = ({ id, label, containerClassName = '', labelClassName = '', className = '', transparent = false, type = 'text', value, onChange, onFocus, autoFocus, onKeyPress, onKeyDown, readOnly, disabled, ...otherProps }) => { return (