How to install the default and new york styles together? #1021
Unanswered
abedshaaban
asked this question in
Q&A
Replies: 2 comments 8 replies
-
You could try to merge them into the same component, but it would be messy and difficult, so I'd suggest doing something like:
Then just use them in your pages like: import { accordion as DefaultAccordion } from '~/components/shadcn-ui/default'
import { accordion as NYAccordion } from '~/components/shadcn-ui/new-york'
export default function SomePage() {
return (
<div>
<DefaultAccordion>...</DefaultAccordion>
<NYAccordion>...</NYAccordion>
</div>
)
} I hope this helps. |
Beta Was this translation helpful? Give feedback.
4 replies
-
entrypoint-components.tsx I will used to many com. like button, input,card etc. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to have both styles available in my project the default style and the new york style for components. How can i do so?
Beta Was this translation helpful? Give feedback.
All reactions