refactor(platform): 统一控件 - 收敛下拉选择与按钮输入交互样式
This commit is contained in:
1 parent
5529c18454
commit
a755102b09
61 files changed
+661
-237
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import { useEffect, useState } from "react";
|
||||
import { App, Button, Select } from "antd";
|
||||
import { App, Button } from "antd";
|
||||
import { useInfiniteQuery } from "@tanstack/react-query";
|
||||
import { FileText, Images, Plus, RefreshCw } from "lucide-react";
|
||||
import { CachedResourceImage } from "@/components/cached-resource-image";
|
||||
@@ -10,6 +10,7 @@ import { loadAssetLibraryPage } from "@/services/user-data-sync";
|
||||
import { useUserStore } from "@/stores/use-user-store";
|
||||
import type { Asset } from "@/stores/use-asset-store";
|
||||
import { assetPickerItemsToInsertPayloads, type InsertAssetPayload } from "./asset-picker-modal";
|
||||
import { Select } from "@/components/ui/base/select";
|
||||
|
||||
const categories: AssetCategory[] = ["material", "character", "environment", "prop", "other"];
|
||||
export function CanvasWorkspaceAssetPanel({ onInsert, onManage, onProjectAssets }: { onInsert: (payloads: InsertAssetPayload[]) => Promise<unknown>; onManage: () => void; onProjectAssets?: () => void }) {
|
||||
|
||||
Reference in new issue
Block a user