switch
switch copied to clipboard
React Switch
It would be better to mention there is a default behavior of [onInternalKeyDown](https://github.com/react-component/switch/blob/master/src/index.tsx#L68) in antd Switch. https://ant.design/components/switch-cn/#API
ref https://github.com/react-component/switch/issues/57
I'm styling switch with styled-components in TypeScript like this: ```jsx import styled from "styled-components"; import Switch from "rc-switch"; export const StyledSwitch = styled(Switch)(({ checked, disabled }) => { position: "relative",...
Critical rule violated by component: https://dequeuniversity.com/rules/axe/3.4/button-name?application=axeAPI I believe this introduced by this #26 in response to #22
Hi! Currently the `checkChildren` and `uncheckedChildren` doesn't support classNames, as you render those as svgs. Will you support a way to do that?
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 49.0.0 to 53.0.0. Release notes Sourced from eslint-plugin-unicorn's releases. v53.0.0 New rules consistent-empty-array-spread (#2349) 8d7954c prefer-string-raw (#2339) 4f1400a no-invalid-fetch-options (#2338) 342aafb no-magic-array-flat-depth (#2335) bc17428 prefer-structured-clone (#2329) 497519e...