Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3622 Rev 3719
Línea 1... Línea 1...
1
import React from 'react';
1
import React from 'react';
2
import { styled } from '@mui/material';
2
import { styled } from '@mui/material';
3
 
3
 
4
const VisuallyHiddenInput = styled('input')({
4
const VisuallyHiddenInput = styled('input')({
5
  clip: 'rect(0 0 0 0)',
5
  clip: 'rect(0 0 0 0)',
6
  clipPath: 'inset(50%)',
6
  clipPath: 'inset(50%)',
7
  height: 1,
7
  height: 1,
8
  overflow: 'hidden',
8
  overflow: 'hidden',
9
  position: 'absolute',
9
  position: 'absolute',
10
  bottom: 0,
10
  bottom: 0,
11
  left: 0,
11
  left: 0,
12
  whiteSpace: 'nowrap',
12
  whiteSpace: 'nowrap',
13
  width: 1
13
  width: 1
14
});
14
});
15
 
15
 
16
export const HiddenInput = ({ ...props }) => {
16
export const HiddenInput = ({ ...props }) => {
17
  return <VisuallyHiddenInput {...props} />;
17
  return <VisuallyHiddenInput {...props} />;
18
};
18
};