How can i get these numbers on the ListItem?

#1

i couldn’t figure how to add the numbers dynamically from backend and ?

          <ListItem
              onPress={() => navigate('todoItems')}
              title="ToDo Task"
              leftIcon={{name: 'flight-takeoff'}}
              color="rgba(0,122,255,1)"
          />
#2

Check out badges: https://react-native-training.github.io/react-native-elements/API/lists/

1 Like
#3

thanks man. @thetc thetc