You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, while browsing the code example of Sheet I have noticed the Side example has different imports than anything else. The "primary" code example, as well as some other examples I could find on the website were importing from @/components, while this specific example was importing from @/registry/new-york
I am not entirely sure whether this is intended behavior or not, hence why a discussion has been opened instead of an issue or a pull request.
Attached to this discussion is a snipped of a typical code example on the website (in this scenario taken from the Combobox component documentation, as well as the one I believe is incorrect.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, while browsing the code example of Sheet I have noticed the Side example has different imports than anything else. The "primary" code example, as well as some other examples I could find on the website were importing from @/components, while this specific example was importing from @/registry/new-york
Location of my finding: https://ui.shadcn.com/docs/components/sheet#side (code)
I am not entirely sure whether this is intended behavior or not, hence why a discussion has been opened instead of an issue or a pull request.
Attached to this discussion is a snipped of a typical code example on the website (in this scenario taken from the Combobox component documentation, as well as the one I believe is incorrect.
Combobox example @ https://ui.shadcn.com/docs/components/combobox#combobox
Sheet side example @ https://ui.shadcn.com/docs/components/sheet#side
If this is not the intended behavior, please let me know, I'll prepare a pull request for it.
Beta Was this translation helpful? Give feedback.
All reactions