0 ? name : id}>
{typeof name === 'string' && name.length > 0 ? name : id}
{
typeof version === 'string' && version.length > 0 ?
v.{version}
:
null
}
{
Array.isArray(types) && types.length > 0 ?
{
types.length === 1 ?
types.join('')
:
types.slice(0, -1).join(', ') + ' & ' + types[types.length - 1]
}
:
null
}
{
typeof description === 'string' && description.length > 0 ?
{description}
:
null
}