misc: upgrade to Expo SDK 58
Move the app from SDK 55 onto React Native 0.88 so later widget and auth work can use the SDK 58 packages. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
82c4187826
commit
6c3a474bb0
11 files changed
+3786
-4862
No files matched your search
@@ -0,0 +1,26 @@
|
||||
import { Button, ContextMenu, Host } from '@expo/ui/swift-ui';
|
||||
import React from 'react';
|
||||
|
||||
export function DeviceContextMenu({
|
||||
children,
|
||||
onDelete,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
onDelete: () => void;
|
||||
}) {
|
||||
return (
|
||||
<Host>
|
||||
<ContextMenu>
|
||||
<ContextMenu.Items>
|
||||
<Button
|
||||
systemImage="trash"
|
||||
role="destructive"
|
||||
label="Delete Device"
|
||||
onPress={onDelete}
|
||||
/>
|
||||
</ContextMenu.Items>
|
||||
<ContextMenu.Trigger>{children}</ContextMenu.Trigger>
|
||||
</ContextMenu>
|
||||
</Host>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user