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

React native elements checkbox icon display as questions mark #1907

Closed
examineyou65 opened this issue May 29, 2019 · 5 comments
Closed

React native elements checkbox icon display as questions mark #1907

examineyou65 opened this issue May 29, 2019 · 5 comments

Comments

@examineyou65
Copy link

I am using following version of react native elements and vector icons
"react-native-elements": "^1.1.0",
"react-native-vector-icons": "^6.4.2",
I am passing following icon to checkbox component,
type: "material",
checkedIcon: "check-box",
uncheckedIcon: "check-box-outline-blank"
but it shows question mark . i have checked icon list in material where both icons are available.I don't know what is reason it display like question mark.

@iRoachie
Copy link
Collaborator

Works fine in my tests.

Kapture 2019-05-30 at 6 46 19

@dominictwlee
Copy link

@examineyou65

I've had this issue before and it was related to the installation of react-native-vector icons. Might want to double check that you have that correctly installed.

@maxto024
Copy link

maxto024 commented Jun 6, 2019

@examineyou65 its related to react-native-vector please make sure you install it and link it

@iRoachie
Copy link
Collaborator

iRoachie commented Jul 6, 2019

Closing as inactive. Feel free to message or create a new issue if this is still a concern.

@iRoachie iRoachie closed this as completed Jul 6, 2019
@romandr25
Copy link

romandr25 commented May 10, 2020

Me too. Please help.

At first I had crosses inside squares but now I too have these question marks!
(after setting any iconType - even empty)
Trying Icon also :

import { Icon } from 'react-native-elements'
....
<Icon
    raised
    name='heartbeat'
    type='font-awesome'
    color='#f50'
    onPress={() => console.log('hello')}
/>

ReferenceError: Can't find variable: Icon - sometimes
But mostly there are crosses inside squares too.

I think everything installed and reinstalled perfect, except one unknown low severity vulnerability.

Should I open a new question for that?

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

5 participants