ItsJonQ / g2

✨ An experimental reimagining of WordPress components
http://g2-components.com/
MIT License
105 stars 12 forks source link

fix: contextConnect types #264

Closed sarayourfriend closed 3 years ago

sarayourfriend commented 3 years ago

Previously the return type was passing through the whole of ViewOwnProps to PolymorphicComponent, but it should only take the props extracted from it. This PR fixes that.

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/itsjonq/g2/5fyjs4rtq
✅ Preview: https://g2-git-fix-contextconnect-types.itsjonq.vercel.app