Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3719 Rev 3746
Línea 1... Línea 1...
1
import React from 'react';
1
import React from 'react';
2
import { Typography } from '@mui/material';
2
import { Typography } from '@mui/material';
3
import CheckCircle from '@mui/icons-material/CheckCircle';
3
// import CheckCircle from '@mui/icons-material/CheckCircle';
Línea 4... Línea 4...
4
 
4
 
5
import { parse } from '@shared/utils';
5
import { parse } from '@shared/utils';
6
import { CardMedia } from '@shared/components';
6
import { CardMedia } from '@shared/components';
Línea 12... Línea 12...
12
  autoPlay = false,
12
  autoPlay = false,
13
  onComplete
13
  onComplete
14
}) {
14
}) {
15
  return (
15
  return (
16
    <>
16
    <>
17
      {!!completed && (
17
      {/* {!!completed && (
18
        <CheckCircle sx={{ position: 'absolute', top: '1rem', right: '1rem' }} color='success' />
18
        <CheckCircle sx={{ position: 'absolute', top: '1rem', right: '1rem' }} color='success' />
19
      )}
19
      )} */}
20
      {type === 'quiz' && (
20
      {type === 'quiz' && (
21
        <SlideQuiz
21
        <SlideQuiz
22
          quiz={quiz_data ? quiz_data[0] : {}}
22
          quiz={quiz_data ? quiz_data[0] : {}}
23
          startUrl={link_take_a_test}
23
          startUrl={link_take_a_test}
24
          slide={{ type, file, description, name, quiz_data, link_take_a_test }}
24
          slide={{ type, file, description, name, quiz_data, link_take_a_test }}