@svadmin/core 0.23.6 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/types.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@svadmin/core",
3
- "version": "0.23.6",
3
+ "version": "0.24.0",
4
4
  "author": "zuohuadong",
5
5
  "repository": {
6
6
  "type": "git",
package/src/types.ts CHANGED
@@ -298,7 +298,7 @@ export interface MenuItem {
298
298
  /** Display label. Falls back to `t('menu.${name}')` if omitted */
299
299
  label?: string;
300
300
  /** Icon name string (maps to lucide icon set) or Svelte component */
301
- icon?: string;
301
+ icon?: string | any;
302
302
  /** Navigation path — omit for parent-only menu nodes */
303
303
  href?: string;
304
304
  /** Open in new tab (useful for external links) */