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

CheckBox size #59

Open
rodrigofbm opened this issue May 7, 2018 · 3 comments
Open

CheckBox size #59

rodrigofbm opened this issue May 7, 2018 · 3 comments

Comments

@rodrigofbm
Copy link

How to change the size of the checkbox?
Version: 2.1.0

@acomito
Copy link

acomito commented May 16, 2018

Worst case scenario you can use your own image or icon and adjust that size

<CheckBox
 onClick={this.onCheckboxClick}
 checkedImage={<MaterialIcons size={40} name="radio-button-checked"  />}
 unCheckedImage={<MaterialIcons  size={40} name="radio-button-unchecked" />}
/>

@IsharaHansaka
Copy link

can't i change check box size without adding own image or icon?

@termitavee
Copy link

I edited the component so it acepts checkBoxStyle and override

<Image source={source} style={{tintColor: this.props.checkBoxColor}} />

for

<Image source={source} style={this.props.checkBoxStyle} />

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

Successfully merging a pull request may close this issue.

4 participants