---
title: menuItem
status: published
category: ui
group: Function
author: api
date: 06/23/2023
order: 11
---<Small>Public Function</Small>




##### Parameters


<ParametersTable>

<ParametersTableRow>
<ParametersTableName>

`actionItem`

</ParametersTableName>
<ParametersTableDescription>

```ts
TLUiActionItem | TLUiToolItem
```



</ParametersTableDescription>
</ParametersTableRow>
<ParametersTableRow>
<ParametersTableName>

`opts`

 <Small>(optional)</Small>

</ParametersTableName>
<ParametersTableDescription>

```ts
Partial<{
  checked: boolean
  disabled: boolean
}>
```



</ParametersTableDescription>
</ParametersTableRow>
</ParametersTable>

##### Returns


```ts
TLUiMenuItem
```

##### References

[TLUiActionItem](/gen/ui/TLUiActionItem-interface), [TLUiToolItem](/gen/ui/TLUiToolItem-interface), [TLUiMenuItem](/gen/ui/TLUiMenuItem-type)

