Skip to content

Commit 2df0304

Browse files
committed
feat: add mixed-sorting
1 parent 67d9329 commit 2df0304

File tree

4 files changed

+6
-21
lines changed

4 files changed

+6
-21
lines changed

src/app/_components/mixed-axis-demo.tsx src/app/_components/mixed-orientation-demo.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
} from "@/components/ui/card"
1414
import { Sortable, SortableItem } from "@/components/ui/sortable"
1515

16-
export function MixedAxisDemo() {
16+
export function MixedOrientaionDemo() {
1717
const [specialTricks, setSpecialTricks] = React.useState(
1818
dataConfig.speicalTricks
1919
)

src/app/_components/hook-form-demo.tsx src/app/_components/vertical-sorting-demo.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const schema = z.object({
3232

3333
type Schema = z.infer<typeof schema>
3434

35-
export function HookFormDemo() {
35+
export function VerticalSortingDemo() {
3636
const form = useForm<Schema>({
3737
resolver: zodResolver(schema),
3838
defaultValues: {

src/app/page.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { Shell } from "@/components/shell"
22

3-
import { HookFormDemo } from "./_components/hook-form-demo"
4-
import { MixedAxisDemo } from "./_components/mixed-axis-demo"
3+
import { MixedOrientaionDemo } from "./_components/mixed-orientation-demo"
4+
import { VerticalSortingDemo } from "./_components/vertical-sorting-demo"
55

66
export default function IndexPage() {
77
return (
88
<Shell>
9-
<HookFormDemo />
10-
<MixedAxisDemo />
9+
<VerticalSortingDemo />
10+
<MixedOrientaionDemo />
1111
</Shell>
1212
)
1313
}

src/components/ui/skeleton.tsx

-15
This file was deleted.

0 commit comments

Comments
 (0)