- Android
- iOS
- Web
Menu Item
Add an action to a menu.
Engine API NMenuItemnayan-ui/components
Example.tsx
| Name | Type | Default | Details |
|---|---|---|---|
| title | string | Optional | |
| children | ReactNode | Optional | |
| separator | boolean | Optional | |
| className | string | Optional | Supported Tailwind-style utilities, resolved entirely in Rust. See the engine README. |
| disabled | boolean | Optional | |
| id | string | Optional | |
| onAction | (() => void) | Optional |