Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One star missing no matter which stars I use. #79

Open
BoKKeR opened this issue Feb 24, 2019 · 0 comments
Open

One star missing no matter which stars I use. #79

BoKKeR opened this issue Feb 24, 2019 · 0 comments

Comments

@BoKKeR
Copy link

BoKKeR commented Feb 24, 2019

No matter how many stars and different icons I try tho draw from the react-native-vector-icons package, I always end up missing one of the middle stars.

Here the bad star is highlighted in the debugger:
debugger preview

This is the code:

			import Stars from 'react-native-stars';
			import Icon from 'react-native-vector-icons/FontAwesome';
				<View style={styles.header}>
                    <View style={{alignItems:'center'}}>
                        <Stars
                            display={3}
                            spacing={8}
                            count={6}
                            backingColor='white'
                            fullStar={<Icon name={'star'} size={30}/>}
                            emptyStar={<Icon name={'star-half-empty'} size={30} />}
                            halfStar={<Icon name={'star-o'} size={30} />}
                        />
                    </View>
                </View>

and this is how it looks like:
broken star

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant