mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-08 23:53:57 +00:00
feat(web/menu): add current and max option count into the list button
This commit is contained in:
1 parent
fd45418a5d
commit
4744df337f
1 file changed
+4
-1
@@ -44,8 +44,11 @@ const ListItem = forwardRef<Array<HTMLDivElement | null>, Props>(({ item, index,
|
||||
<Text>{item.value[scrollIndex]}</Text>
|
||||
</Stack>
|
||||
<Spacer />
|
||||
<Stack direction="row" spacing="sm" mr={3}>
|
||||
<Stack direction="row" spacing="sm" mr={3} justifyContent="center" alignItems="center">
|
||||
<FontAwesomeIcon icon="chevron-left" fontSize={16} color="#909296" />
|
||||
<Text color="#909296" textTransform="uppercase" fontSize={14}>
|
||||
{scrollIndex + 1}/{item.value.length}
|
||||
</Text>
|
||||
<FontAwesomeIcon icon="chevron-right" fontSize={16} color="#909296" />
|
||||
</Stack>
|
||||
</Flex>
|
||||
|
||||
Reference in new issue
Block a user