Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1838 Rev 2081
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,
6
  inputRef = null,
8
  value,
-
 
9
  placeholder,
7
  icon: Icon = null,
10
  accept,
8
  error = null,
-
 
9
  name = '',
11
  error = null,
10
  onChange = () => {},
-
 
11
  value = '',
12
  onChange = () => {},
12
  type = 'text',
13
  type = 'text',
13
  placeholder = '',
-
 
14
  accept = ''
14
  icon: Icon = null
15
}) => {
15
}) => {
16
  return (
16
  return (
17
    <TextField
17
    <TextField
18
      label={label}
18
      label={label}