Pure warning when wrapping Ionic component with styled API #62
Labels
bug report 🦗
Issue is probably a bug, but it needs to be checked
bundler: rollup 🗞️
Issue is related to rollup bundler
needs: investigation 🔎
Issue has to be investigated for reason or solution
Environment
Description
When building my React + Vite + Typescript + Ionic project, I see the following warning:
If you look at Home.tsx you will see I am wrapping the
IonHeader
component provided by the Ionic library with the Linaria styled API.When doing this, I get the above console warning.
If I change
styled(IonHeader)
tostyled.div
the warning is gone.Reproducible Demo
pnpm i
pnpm build
I am not sure if this is an Ionic, linaria or wyw issue, but I am guessing wyw because I do not get this warning when using the Emotion styled API.
The text was updated successfully, but these errors were encountered: