mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
24 lines
650 B
TypeScript
24 lines
650 B
TypeScript
import { widgetFields, FieldData } from "./widget";
|
|
|
|
export const dropdownMenuItemFields: FieldData[] = [
|
|
...widgetFields,
|
|
{
|
|
name: "disabled",
|
|
type: "boolean",
|
|
default: "false",
|
|
description: {
|
|
en: "Prevents the item from being activated by pointer or keyboard.",
|
|
"zh-CN": "禁用该项,鼠标点击与键盘激活都会跳过。",
|
|
},
|
|
},
|
|
{
|
|
name: "variant",
|
|
type: '"default" | "destructive"',
|
|
default: '"default"',
|
|
description: {
|
|
en: "Visual variant; destructive renders the item in the danger color.",
|
|
"zh-CN": "视觉变体;destructive 使用危险色显示。",
|
|
},
|
|
},
|
|
];
|