@univerjs-pro/resources-ui
此 API 頁面目前提供英文內容。程式碼簽名與識別符不隨介面語言變更。
Product-independent resource picker UI. Selection and drag callbacks return stable resource references rather than materialized payloads.
TypeScript
import { UniverResourcesUIPlugin } from '@univerjs-pro/resources-ui'import ResourcesUIEnUS from '@univerjs-pro/resources-ui/locale/en-US'import '@univerjs-pro/resources-ui/lib/index.css'univer.registerPlugin(UniverResourcesUIPlugin)Merge ResourcesUIEnUS into the locale map for applications that enable the resource picker.
Entry Points
- Locale:
@univerjs-pro/resources-ui/locale/* - Style:
@univerjs-pro/resources-ui/lib/index.css
你覺得這篇文檔如何?