Support selecting menu items

This commit is contained in:
Dermot Duffy
2022-01-14 21:31:16 -08:00
parent 68dffdf69d
commit ba94f31a32
5 changed files with 5 additions and 6 deletions
+1
View File
@@ -334,6 +334,7 @@ const menuSubmenuItemSchema = elementsBaseSchema.merge(
entity: z.string().optional(),
icon: z.string().optional(),
state_color: z.boolean().default(true),
selected: z.boolean().default(false),
}),
);
export type MenuSubmenuItem = z.infer<typeof menuSubmenuItemSchema>;