mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-14 03:30:19 +00:00
fix(import): fix lobehub ui es import path (#10893)
chore: update package dependencies and import paths * Updated @lobehub/ui from version 3.4.2 to 3.4.4 in package.json. * Adjusted import paths for components from '@lobehub/ui/es/' to include '.mjs' extension where necessary. * Refactored imports for motion library to use 'motion/react-m' instead of 'motion/react'. * Cleaned up import statements in various components for consistency. Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -15,7 +15,7 @@ alwaysApply: false
|
||||
|
||||
- If unsure how to use `@lobehub/ui` components or what props they accept, search for existing usage in this project instead of guessing. Most components extend antd components with additional props
|
||||
- For specific usage, search online. For example, for ActionIcon visit <https://ui.lobehub.com/components/action-icon>
|
||||
- Read `node_modules/@lobehub/ui/es/index.js` to see all available components and their props
|
||||
- Read `node_modules/@lobehub/ui/es/index.mjs` to see all available components and their props
|
||||
|
||||
- General
|
||||
- ActionIcon
|
||||
|
||||
Reference in New Issue
Block a user