import * as React from 'react' import type { PJ } from '@lastres/pj' import PJHealthLikeBar from '@lastres/components/pj-health-like-bar' export interface PJListItemProps { pj: PJ } export default function PJListItem (props: PJListItemProps): JSX.Element { const pj = props.pj function avatar (): React.ReactNode { if (pj.image === undefined) { return <>> } return <>
> } return ({pj.nick} Nivel {pj.level}.
Experiencia: {pj.experience_to_next_level_current} /{pj.experience_to_next_level_complete}