Width: {size?.border.width ?? '—'}px
Height: {size?.border.height ?? '—'}px
)
}
```
--------------------------------
### Transition from Beta to Main
Source: https://github.com/sanity-io/ui/blob/main/CONTRIBUTING.md
Follow these steps to transition from a beta release to the main branch. This involves creating a new release branch and preparing a pull request.
```sh
git checkout beta
git pull --rebase
fetch origin main
git rebase origin/main
git push origin beta # optional
git checkout -b v2 # make a new release branch
git reset --hard beta
git push origin v2
# make a PR to `main`
```
--------------------------------
### Transition from Alpha to Beta
Source: https://github.com/sanity-io/ui/blob/main/CONTRIBUTING.md
Use these commands to transition from an alpha release to a beta release. Ensure you pull and rebase to keep your branches up-to-date.
```sh
git checkout alpha
git pull --rebase
git fetch origin main
git rebase origin/main
git push origin alpha # optional
git checkout beta
git reset --hard alpha
git push origin main
```
--------------------------------
### Dropdown Menu with Actions
Source: https://context7.com/sanity-io/ui/llms.txt
Creates a dropdown menu system using MenuButton, Menu, and MenuItem components. Includes a divider and an icon for a delete action with critical tone. Requires @sanity/icons for icons.
```tsx
import {MenuButton, Menu, MenuItem, MenuDivider, Button} from '@sanity/ui'
import {CopyIcon, TrashIcon, EditIcon} from '@sanity/icons'
function DocumentMenu() {
return (
}
menu={