Releases: antonmihaylov/react-with-class
Releases · antonmihaylov/react-with-class
v1.3.2
v1.3.1
Fixes:
- Fixed other props factory typing
v1.3.0
Features:
- Allow not forwarding some props to the element
v1.2.2
Fixes:
- Fixed a type issue when wrapping a custom component that has a required prop
v1.2.1
- Exported Compound Variant types
v1.2.0
Features
- Added compound variants, which allow applying classes only if all the specified variants are set.
Example: to addtext-red-600
whencolor
isdanger
andisGhost
istrue
:compoundVariants: [ { color: 'danger', isGhost: true, className: 'text-red-600' } ]
v1.1.3
Fix issue with object.assign on class components
v1.1.2
Fix import issue
v1.1.1
Add cjs build
Full Changelog: v1.1.0...v1.1.1
v1.1.0
Allow providing otherProps as a function