File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Add `markedit-api` to your (TypeScript) project's devDependencies:
1919``` json
2020{
2121 "devDependencies" : {
22- "markedit-api" : " https://github.com/MarkEdit-app/MarkEdit-api#v0.9 .0"
22+ "markedit-api" : " https://github.com/MarkEdit-app/MarkEdit-api#v0.10 .0"
2323 }
2424}
2525```
Original file line number Diff line number Diff line change @@ -293,6 +293,13 @@ export type MenuItem = {
293293 action ?: ( ) => void ;
294294 state ?: ( ) => MenuItemState ;
295295
296+ /**
297+ * Icon for the item.
298+ *
299+ * This can be either a base64 string or a SF Symbol name.
300+ */
301+ icon ?: string ;
302+
296303 /**
297304 * Whether an item is a separator used to logically group other items.
298305 */
Original file line number Diff line number Diff line change 11{
22 "name" : " markedit-api" ,
3- "version" : " 0.9 .0" ,
3+ "version" : " 0.10 .0" ,
44 "description" : " Type definitions for the latest MakrEdit API." ,
55 "main" : " main.ts" ,
66 "types" : " markedit.d.ts" ,
You can’t perform that action at this time.
0 commit comments