# Use shared ContextMenuItem type from contracts · gitcafe/t3code

[View on GitCafe](https://git.cafe/gitcafe/t3code/commit/674720c6cd233ca8c9a7b357eb954e26cae3466d)

Repository: [gitcafe/t3code](https://git.cafe/gitcafe/t3code)

Visibility: public

Requested revision: 674720c6cd233ca8c9a7b357eb954e26cae3466d

Requested commit: 674720c6cd233ca8c9a7b357eb954e26cae3466d

Commit: 674720c6cd233ca8c9a7b357eb954e26cae3466d

Tree: 3370feadf8746aac1751108f45f62e92a1127231

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Use shared ContextMenuItem type from contracts

Re-export ContextMenuItem and replace the inlined
{ id: T; label: string; destructive?: boolean } definitions in
wsNativeApi, contextMenuFallback, and the test file.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

```

## Parents

- [58c9e4b96d811c120c7434549656c19058751713](https://git.cafe/gitcafe/t3code/commit/58c9e4b96d811c120c7434549656c19058751713?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/t3code/tree/674720c6cd233ca8c9a7b357eb954e26cae3466d?format=markdown)
