Closed epoll31 closed 1 month ago
@epoll31 is attempting to deploy a commit to the SyntaxUI Team on Vercel.
A member of the Team first needs to authorize it.
Added steps and now only when usingCn
is flagged the preview and code will render together instead of two tabs.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
syntax-ui | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 24, 2024 8:21am |
Description
I implemented an optional
usingCn
prop onComponentPreview
that will show step in how to add thecn
function to a project.Proposed Changes
lib/utils.ts
toutils/cn.ts
which is more clear about what the file is for.lib/utils
noExpand
prop that hides the expand/minimize functionality onCodeGroup
CodeGroup
with smaller sections where the minimize adds clutter instead of functionalitycn
implementation inSimpleToggle.tsx
in favor of actualcn
functionusingCn
flagScreenshots
Checklist
Please check the boxes that apply:
main
branch.npm run build
and build is successful