All notable changes to the ToggleSwitch component will be documented in this file.
- Initial release of the ToggleSwitch component.
- Fixed a bug causing the component not adopt styles.
- Added README.md with customization instructions.
- Ability to customize switch colors using
onColor
andoffColor
props. - Updated README.md with customization instructions.
- Fixed a bug where the style is not attached to switch component
- Fixed a bug where the style can externally attach through import statement
- Support for disabling the toggle switch using the
disable
prop. - Updated README.md with documentation for the
disable
prop.
- Updated from
onChange
toonToggle
- Support for aria-label the toggle switch using the
ariaLabel
prop. - Updated README.md with documentation for the
ariaLabel
prop.
- Ability to customize switch thumb colors using
handleOnColor
andhandleOffColor
props. - Updated README.md with customization instructions.
- Ability to customize switch thumb colors using
handleOnColor
andhandleOffColor
props. - Updated README.md with customization instructions.
- Ability to give icon to thumb using
children
- Updated README.md with customization instructions.
- Support for id,name and value of the toggle switch using the
id
,value
andname
prop. - Updated README.md with documentation for the
id
,value
andname
prop.
- Ability to customize switch thumb width using
width
prop. - Updated README.md with documentation for the
width
prop
- Ability to change the thumb color on checked using
thumbOnColor
andthumbOffColor
props - Updated README.md with documentation for the
thumbOnColor
andthumbOffColor
props.