You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
checkedChildren and uncheckedChildren style overides #27
Activity
teddybee commentedon Oct 21, 2018
I have similar problem. The words for checked and unchecked children is 4-6 characters long and I can't set the width of the switch.
delenzhang commentedon Nov 7, 2018
<Switch onChange={this.onSwitchChange.bind(this, recode)} checkedChildren={'正常' + value} defaultChecked={value!==1} unCheckedChildren={'禁用'+ value} className={'hack-switch'} />;.hack-switch { width: 54px; &.rc-switch-checked:after { left: 32px; } }