mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
feat(web/menu): add current and max option count into the list button
This commit is contained in:
@@ -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