about summary refs log tree commit diff
path: root/src/components/Menu/types.ts
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-08-19 14:21:29 -0500
committerGitHub <noreply@github.com>2024-08-19 12:21:29 -0700
commite54298ec2c9a04aabe40ee7719962e2e33be23ec (patch)
tree7b042cb6cea29dbc0c1a37af6949cc5ec452dae2 /src/components/Menu/types.ts
parentf235be9819286c38e7c76142a62d39e22a7746d1 (diff)
downloadvoidsky-e54298ec2c9a04aabe40ee7719962e2e33be23ec.tar.zst
Expose more methods, support disabled items (#4954)
Diffstat (limited to 'src/components/Menu/types.ts')
-rw-r--r--src/components/Menu/types.ts10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/components/Menu/types.ts b/src/components/Menu/types.ts
index e710971ee..2f7aea5de 100644
--- a/src/components/Menu/types.ts
+++ b/src/components/Menu/types.ts
@@ -1,18 +1,22 @@
 import React from 'react'
 import {
+  AccessibilityProps,
   GestureResponderEvent,
   PressableProps,
-  AccessibilityProps,
 } from 'react-native'
 
-import {Props as SVGIconProps} from '#/components/icons/common'
-import * as Dialog from '#/components/Dialog'
 import {TextStyleProp, ViewStyleProp} from '#/alf'
+import * as Dialog from '#/components/Dialog'
+import {Props as SVGIconProps} from '#/components/icons/common'
 
 export type ContextType = {
   control: Dialog.DialogOuterProps['control']
 }
 
+export type ItemContextType = {
+  disabled: boolean
+}
+
 export type RadixPassThroughTriggerProps = {
   id: string
   type: 'button'