@univerjs-pro/resources-ui
Cette page API est actuellement disponible en anglais. Les signatures et identifiants restent identiques dans toutes les langues.
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
Que pensez-vous de ce guide ?