# MenuItemRenderProps (@salmonui/buttons/menu)

> The MenuItemRenderProps type of @salmonui/buttons/menu: Props passed to a custom item element (render): spread them all.

Canonical: https://salmonui.dev/docs/reference/buttons/menu/MenuItemRenderProps

```ts
import type { MenuItemRenderProps } from '@salmonui/buttons/menu';
```

Entry index: https://salmonui.dev/docs/reference/buttons/menu (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/buttons/menu.md).

## Reference

Kind: type

```ts
type MenuItemRenderProps = HTMLAttributes<HTMLElement> & {
    readonly ref: (element: HTMLElement | null) => void;
    readonly role: string;
    readonly tabIndex: number;
    readonly 'data-item-id'?: string;
    readonly href?: string;
    readonly target?: string;
};
```

Props passed to a custom item element (`render`): spread them all.

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `tabIndex` | `tabIndex: number;` | inherited |  |
| `role` | `role: string;` | inherited |  |
| `ref` | `ref: (element: HTMLElement \| null) => void;` | inherited | Callback ref (assignable to any element's ref). |
| `data-item-id` | `data-item-id?: string;` | optional, inherited |  |
| `href` | `href?: string;` | optional, inherited |  |
| `target` | `target?: string;` | optional, inherited |  |
