Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3493 Rev 3517
Línea 4... Línea 4...
4
import { parse } from '@utils';
4
import { parse } from '@utils';
Línea 5... Línea 5...
5
 
5
 
6
import { Card, CardContent } from '@shared/components';
6
import { Card, CardContent } from '@shared/components';
Línea 7... Línea 7...
7
import { CapsuleRating } from '.';
7
import { CapsuleRating } from '.';
8
 
8
 
9
export const CapsuleItem = ({
9
export function CapsuleDetail({
10
  capsule: { name, description, image, total_rating },
10
  capsule: { name, description, image, total_rating },
11
  readOnly = false
11
  readOnly = false
12
}) => {
12
}) {
13
  const totalRating = Number(total_rating);
13
  const totalRating = Number(total_rating);
14
  return (
14
  return (
15
    <Card>
15
    <Card>
Línea 24... Línea 24...
24
          </Box>
24
          </Box>
25
        </Box>
25
        </Box>
26
      </CardContent>
26
      </CardContent>
27
    </Card>
27
    </Card>
28
  );
28
  );
29
};
29
}