markusenglund/react-switch
### [`v6.0.0`](https://togithub.com/markusenglund/react-switch/blob/HEAD/CHANGELOG.md#600---2021-01-06)
[Compare Source](https://togithub.com/markusenglund/react-switch/compare/6e5eedeb7950e71f33e064fa20d6a7533881a5a4...3cdaee6afcdfe792c11391d8ab466ed5bc27f411)
##### Added
- Add custom handle icons ([@morinted](https://togithub.com/morinted))
- Add `aria-checked` attribute ([@monicahung](https://togithub.com/monicahung))
- Add borderRadius prop
##### Fixed
- Prevent setState from being called after component is unmounted ([@smhg](https://togithub.com/smhg))
##### Changed
- When the `checked` state is not changed in the `onChange` callback, the switch will now go back to its previous position instead of getting stuck halfway. This means the switch will move back and forth if the `onChange` callback changes the state after an asynchronous operation.
- Support react and react-dom 17 as peer dependencies
- Update all dev depencies
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR contains the following updates:
^5.0.1
->^6.0.0
Release Notes
markusenglund/react-switch
### [`v6.0.0`](https://togithub.com/markusenglund/react-switch/blob/HEAD/CHANGELOG.md#600---2021-01-06) [Compare Source](https://togithub.com/markusenglund/react-switch/compare/6e5eedeb7950e71f33e064fa20d6a7533881a5a4...3cdaee6afcdfe792c11391d8ab466ed5bc27f411) ##### Added - Add custom handle icons ([@morinted](https://togithub.com/morinted)) - Add `aria-checked` attribute ([@monicahung](https://togithub.com/monicahung)) - Add borderRadius prop ##### Fixed - Prevent setState from being called after component is unmounted ([@smhg](https://togithub.com/smhg)) ##### Changed - When the `checked` state is not changed in the `onChange` callback, the switch will now go back to its previous position instead of getting stuck halfway. This means the switch will move back and forth if the `onChange` callback changes the state after an asynchronous operation. - Support react and react-dom 17 as peer dependencies - Update all dev depenciesConfiguration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.