|
|
|
@ -39,6 +39,7 @@ export const FileManager: FC<IProps> = (props) => { |
|
|
|
|
const [msg, setMsg] = useState('') |
|
|
|
|
const URL = new TargetURL() |
|
|
|
|
const msgColor = 'primary' |
|
|
|
|
const [LinkColor, setLinkColor] = useState<string>('#0d6efd'); |
|
|
|
|
|
|
|
|
|
const onDrop = useCallback( |
|
|
|
|
(acceptedFiles: any) => { |
|
|
|
@ -204,14 +205,15 @@ export const FileManager: FC<IProps> = (props) => { |
|
|
|
|
<Row> |
|
|
|
|
<Col xs={11}> |
|
|
|
|
<span style={{ fontWeight: 'bold' }}>{props.Prefijo ? props.Prefijo : 'Archivo'}</span> : |
|
|
|
|
<a |
|
|
|
|
href='#' |
|
|
|
|
<span style={{textDecoration:'underline', color:LinkColor, cursor:'pointer'}}
|
|
|
|
|
onClick={() => { |
|
|
|
|
getFileContent() |
|
|
|
|
}} |
|
|
|
|
onMouseEnter={() => {setLinkColor('blue')}} |
|
|
|
|
onMouseLeave={() => {setLinkColor('#0d6efd')}} |
|
|
|
|
> |
|
|
|
|
{Archivo?.nombreArchivo} |
|
|
|
|
</a> |
|
|
|
|
</span> |
|
|
|
|
</Col> |
|
|
|
|
<Col xs={1} style={{ visibility: props.canDelete ? 'visible' : 'hidden' }}> |
|
|
|
|
<IconContext.Provider value={{ color: 'red', size: '20px' }}> |
|
|
|
|