We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! Currently the checkChildren and uncheckedChildren doesn't support classNames, as you render those as svgs. Will you support a way to do that?
checkChildren
uncheckedChildren
The text was updated successfully, but these errors were encountered:
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.
Sorry, something went wrong.
<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; } }
<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; } }
No branches or pull requests
Hi! Currently the
checkChildren
anduncheckedChildren
doesn't support classNames, as you render those as svgs. Will you support a way to do that?The text was updated successfully, but these errors were encountered: