This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
github-actions
released this
01 Apr 14:12
·
295 commits
to main
since this release
Minor Changes
-
#327
b572666
Thanks @TimKolberger! - Removed the memberdefaultProps
from the typeComponentWithAs
to support React 18.3.0.This is possibly a breaking change for TypeScript users.
-
#327
b572666
Thanks @TimKolberger! - When using theas
prop, theref
will now be typed accordingly.This is possibly a breaking change for TypeScript users.
const ref = useRef<HTMLAnchorElement>(null) return <poly.button as="a" ref={ref} />