Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 2081 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 2081 Rev 2087
Línea 1... Línea 1...
1
import React from 'react'
1
import React from 'react'
2
import { InputAdornment, TextField } from '@mui/material'
2
import { InputAdornment, TextField } from '@mui/material'
Línea 3... Línea 3...
3
 
3
 
4
const Input = ({
4
const Input = ({
5
  label,
5
  label = '',
6
  inputRef,
-
 
7
  name,
-
 
8
  value,
6
  inputRef = null,
9
  placeholder,
-
 
10
  accept,
7
  icon: Icon = null,
-
 
8
  error = null,
11
  error = null,
9
  name = '',
-
 
10
  onChange = () => {},
12
  onChange = () => {},
11
  value = '',
13
  type = 'text',
12
  type = 'text',
-
 
13
  placeholder = '',
14
  icon: Icon = null
14
  accept = ''
15
}) => {
15
}) => {
16
  return (
16
  return (
17
    <TextField
17
    <TextField
18
      label={label}
18
      label={label}