Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 2773 | Rev 2794 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 2773 Rev 2791
Línea 39... Línea 39...
39
const Input = ({
39
const Input = ({
40
  name,
40
  name,
41
  control,
41
  control,
42
  label,
42
  label,
43
  rules,
43
  rules,
44
  defaultValue = '',
44
  defaultValue,
45
  onChange,
45
  onChange,
46
  value: propValue,
46
  value,
47
  icon,
47
  icon,
48
  accept,
48
  accept,
49
  error,
49
  error,
50
  ...props
50
  ...props
51
}) => {
51
}) => {
Línea 85... Línea 85...
85
 
85
 
86
      <CustomInput
86
      <CustomInput
87
        name={name}
87
        name={name}
88
        onChange={onChange}
88
        onChange={onChange}
89
        defaultValue={defaultValue}
89
        defaultValue={defaultValue}
90
        value={propValue}
90
        value={value}
91
        inputProps={{
91
        inputProps={{
92
          accept
92
          accept
93
        }}
93
        }}
94
        startAdornment={icon ? <InputAdornment>{icon}</InputAdornment> : null}
94
        startAdornment={icon ? <InputAdornment>{icon}</InputAdornment> : null}