kontext Menu Items
fun kontextMenuItems(cut: () -> Unit?, copy: () -> Unit?, paste: () -> Unit?): List<KontextMenuItem>
Creates a list of KontextMenuItems for common operations.
This function creates a list of menu items for cut, copy, and paste operations, with appropriate icons, labels, and keyboard shortcuts. The menu items are enabled only if the corresponding operation is provided.
Return
A list of KontextMenuItem objects
Parameters
cut
Optional callback for the cut operation
copy
Optional callback for the copy operation
paste
Optional callback for the paste operation