From the code, you can see that I don't import Stack from anywhere. However, for some reason, the Panda macro converts Stack to its own component (first div in the screenshot). If I rename Stack to Stack2, everything works as expected (second div in the screenshot).
Is this the expected behavior? I have many components in my project with conflicting names (like Stack, Container, Circle), which should not be changed in any way by Panda.
I made a small reproduction here: https://github.com/astahmer/pandabox/compare/main...nucleartux:pandabox:repro?expand=1
From the code, you can see that I don't import
Stack
from anywhere. However, for some reason, the Panda macro convertsStack
to its own component (first div in the screenshot). If I renameStack
toStack2
, everything works as expected (second div in the screenshot). Is this the expected behavior? I have many components in my project with conflicting names (likeStack
,Container
,Circle
), which should not be changed in any way by Panda.