Skip to content

Commit

Permalink
fix: moar demo stuff ...
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-karger committed Apr 29, 2024
1 parent 8fbbdfa commit 0b877a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/docs/src/registry/example/resizable-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Resizable, ResizableHandle, ResizablePanel } from "../ui/resizable"

export default function ResizableDemo() {
return (
<Resizable orientation="horizontal" class="max-w-md rounded-lg border">
<Resizable class="max-w-md rounded-lg border">
<ResizablePanel initialSize={0.25} class="overflow-hidden">
<div class="flex h-[200px] items-center justify-center p-6">
<span class="font-semibold">One</span>
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/docs/components/resizable.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import { Resizable, ResizableHandle, ResizablePanel } from "~/components/ui/resi
```

```tsx
<Resizable direction="horizontal">
<Resizable orientation="horizontal">
<ResizablePanel>One</ResizablePanel>
<ResizableHandle />
<ResizablePanel>Two</ResizablePanel>
Expand Down

0 comments on commit 0b877a0

Please sign in to comment.