Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1605 Rev 1627
Línea 1... Línea 1...
1
import React, { useEffect } from 'react'
1
import React, { useEffect } from 'react'
-
 
2
import { InputAdornment, styled } from '@mui/material'
-
 
3
import { Place } from '@mui/icons-material'
Línea 2... Línea 4...
2
 
4
 
Línea 3... Línea 5...
3
import useLocationAutocomplete from '../../../hooks/useLocationAutocomplete'
5
import useLocationAutocomplete from '../../../hooks/useLocationAutocomplete'
4
 
6
 
-
 
7
import InputBase from './InputBase'
5
import InputBase from './InputBase'
8
import FormErrorFeedback from '../form/FormErrorFeedback'
-
 
9
 
6
import FormErrorFeedback from '../form/FormErrorFeedback'
10
const StyledInput = styled(InputBase)`
-
 
11
  input {
-
 
12
    border: none;
Línea 7... Línea 13...
7
import { Place } from '@mui/icons-material'
13
  }
8
import { InputAdornment } from '@mui/material'
14
`
9
 
15
 
10
const UbicationInput = ({
16
const UbicationInput = ({
Línea 19... Línea 25...
19
    onGetAddress(address)
25
    onGetAddress(address)
20
  }, [address])
26
  }, [address])
Línea 21... Línea 27...
21
 
27
 
22
  return (
28
  return (
23
    <>
29
    <>
24
      <InputBase
30
      <StyledInput
25
        startAdornment={
31
        startAdornment={
26
          <InputAdornment position='start'>
32
          <InputAdornment position='start'>
27
            <Place />
33
            <Place />
28
          </InputAdornment>
34
          </InputAdornment>