Better platform handling

This commit is contained in:
Eric Bailey
2024-03-04 17:10:01 -06:00
parent a496a380d3
commit ac6b5fa1f4
3 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ export function Menus() {
<Menu.Root>
<Menu.Trigger>
{({state, handlers}) => {
console.log(state)
console.log(state.hovered, state.focused, state.pressed)
return <Text {...handlers}>Open</Text>
}}
</Menu.Trigger>