Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

action prop on ContextMenu.Trigger primitive has no type declaration & doesn't change behaviour #109

Open
KieranTH opened this issue Nov 2, 2024 · 0 comments

Comments

@KieranTH
Copy link

KieranTH commented Nov 2, 2024

Hey - Loving this project!

Got a small bug in the Context Menu - It seems like the action prop which is listed in the Documentation doesn't seem to function in the latest package for Zeego.

type '{ children: ReactNode; action: string; }' is not assignable to type 'IntrinsicAttributes & ContextMenuTriggerProps & RefAttributes<HTMLSpanElement>'.
  Property 'action' does not exist on type 'IntrinsicAttributes & ContextMenuTriggerProps & RefAttributes<HTMLSpanElement>'.

Ignoring the type error and applying press as the action value also doesn't change the behaviour of the press.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant