Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3535 Rev 3536
Línea 1... Línea 1...
1
import React from 'react';
1
import React from 'react';
2
import { useSelector } from 'react-redux';
2
import { useSelector } from 'react-redux';
3
import { Box, IconButton } from '@mui/material';
3
import { Box, IconButton } from '@mui/material';
4
import { Send } from '@mui/icons-material';
4
import { SendRounded } from '@mui/icons-material';
Línea 5... Línea 5...
5
 
5
 
Línea 6... Línea 6...
6
import { Form, FormInput } from '../form';
6
import { Form, FormInput } from '../form';
7
 
7
 
Línea 14... Línea 14...
14
        <FormInput
14
        <FormInput
15
          name='comment'
15
          name='comment'
16
          placeholder={labels.write_a_comment}
16
          placeholder={labels.write_a_comment}
17
          rules={{ required: 'Este campo es requerido' }}
17
          rules={{ required: 'Este campo es requerido' }}
18
          autoComplete='off'
18
          autoComplete='off'
-
 
19
          endAdornment={
-
 
20
            <IconButton type='submit'>
-
 
21
              <SendRounded />
-
 
22
            </IconButton>
-
 
23
          }
19
        />
24
        />
20
 
-
 
21
        <IconButton color='primary' type='submit'>
-
 
22
          <Send />
-
 
23
        </IconButton>
-
 
24
      </Box>
25
      </Box>
25
    </Form>
26
    </Form>
26
  );
27
  );
27
}
28
}