Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions apps/platform/components/showcase/component-live-preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -735,14 +735,7 @@ function AccordionLivePreview() {
<div className="mx-auto flex w-full max-w-lg flex-col gap-4">
<Accordion type="single" defaultValue="item-1">
<AccordionItem value="item-1">
<AccordionTrigger asChild>
<Button variant="outline" className="w-full justify-between">
<span>Getting started</span>
<span className="text-muted-foreground text-base leading-none">
+
</span>
</Button>
</AccordionTrigger>
<AccordionTrigger>Getting started</AccordionTrigger>
<AccordionContent className="pt-3">
<p className="text-muted-foreground text-sm leading-7">
Use accordion items to reveal grouped content one section at a
Expand Down
4 changes: 1 addition & 3 deletions apps/platform/content/docs/components/accordion.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ import { AccordionInlinePreview } from "@/components/showcase/component-live-pre
<CompPreview
code={`<Accordion type="single" defaultValue="setup">
<AccordionItem value="setup">
<AccordionTrigger asChild>
<Button variant="outline">Setup</Button>
</AccordionTrigger>
<AccordionTrigger>Setup</AccordionTrigger>
<AccordionContent>
Keep setup notes, deployment tips, or FAQs grouped under clear headings.
</AccordionContent>
Expand Down
Loading