Rename handlers to props

This commit is contained in:
Eric Bailey
2024-03-05 14:22:38 -06:00
parent 250258da9b
commit aff755830f
4 changed files with 16 additions and 20 deletions
+2 -2
View File
@@ -17,10 +17,10 @@ export function Menus() {
<View style={[a.flex_row, a.align_start]}>
<Menu.Root control={menuControl}>
<Menu.Trigger label="Open basic menu" style={[a.flex_1]}>
{({state, handlers}) => {
{({state, props}) => {
return (
<Text
{...handlers}
{...props}
style={[
a.py_sm,
a.px_md,