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 (
{ avatar() }

{pj.nick}

) }