Skip to content

Stars are not visible on android #197

@Dev2927

Description

@Dev2927

{showRate && (
<View
style={[
styles.ratingContainer,
]}
>
<AirbnbRating
type="custom"
count={5}
defaultRating={item.star || 0}
selectedColor="#f1c40f"
ratingBackgroundColor="transparent"
reviews={[
'Bad',
'Good',
'Very Good',
'Amazing',
'Unbelievable',
]}
onFinishRating={(count) =>
onStarRatingPress(count, item, i)
}
size={30}
/>

)}

ratingContainer: {
width: '100%',
paddingVertical: 20,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#ffffff',
borderWidth: 0,
marginTop: 10,
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions