Releases: kripod/react-polymorphic-types
Releases · kripod/react-polymorphic-types
v2.0.0
Added
- type inference for event parameters (fixes #8)
v1.1.0
Added
- docs: add deprecation note about exotic components
Changed
- docs: simplify forwarded ref type
v1.0.3
Fixed
- docs: fix
HeadingDefaultElement
references
- docs: fix ref forwarding example
v1.0.2
Changed
- block external access to auxiliary types
- reference
@types/react
explicitly
v1.0.1
Removed
- readme: misleading bundle size badge
v1.0.0
Added
PolymorphicPropsWithoutRef
and PolymorphicPropsWithRef
types for appending as
to component props
PolymorphicForwardRefExoticComponent
, PolymorphicMemoExoticComponent
and PolymorphicLazyExoticComponent
types to support exotic components