@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
你觉得这篇文档如何?