add NC badge to items
it's cute!
This commit is contained in:
parent
c3d8ead8f8
commit
d2aab1da9e
1 changed files with 2 additions and 6 deletions
|
@ -57,14 +57,10 @@ function Item({ item, itemNameId, isWorn, isInOutfit, dispatchToOutfit }) {
|
||||||
flexDirection="row"
|
flexDirection="row"
|
||||||
alignItems="center"
|
alignItems="center"
|
||||||
>
|
>
|
||||||
<ItemName id={itemNameId} isWorn={isWorn}>
|
<ItemName id={itemNameId} isWorn={isWorn} marginRight="2">
|
||||||
{item.name}
|
{item.name}
|
||||||
</ItemName>
|
</ItemName>
|
||||||
{item.isNc && (
|
{item.isNc && <Badge colorScheme="cyan">NC</Badge>}
|
||||||
<Badge colorScheme="cyan" marginLeft="2">
|
|
||||||
NC
|
|
||||||
</Badge>
|
|
||||||
)}
|
|
||||||
</Box>
|
</Box>
|
||||||
<Box flex="0 0 auto">
|
<Box flex="0 0 auto">
|
||||||
<SupportOnly>
|
<SupportOnly>
|
||||||
|
|
Loading…
Reference in a new issue