luqin / react-icheck

:radio_button: iCheck components built with React. Highly customizable checkbox, radio buttons and radio group.
https://luqin.github.io/react-icheck
177 stars 40 forks source link

how to change the checkbox size #19

Closed tonylinyy closed 8 years ago

tonylinyy commented 8 years ago

thanks for your nice work! we use the react-icheck in our project how to change the size of the checkbox,or has the 'size' props? thanks:)

luqin commented 8 years ago
// increase clickable area by given % (negative number to decrease)
increaseArea: ''

http://icheck.fronteed.com/

tonylinyy commented 8 years ago

yes,I try the increaseArea props,but no effect,the size of checkbox no change,here is the code:

<Checkbox checkboxClass="icheckbox_square-blue" increaseArea="-40%" label="Checkbox, #input-1" checked={this.state.i1checked} onChange={this.handle1Change} />

luqin commented 8 years ago

This plugin base on icheck and support many skin. You can customize the css to get it.