summaryrefslogtreecommitdiff
path: root/actions/passkey.ts
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-07-16 07:55:57 +0700
committerpolwex <polwex@sortug.com>2025-07-16 07:55:57 +0700
commite2e14e414de25904d791b503d2852c68b3ac9415 (patch)
tree051b3b0dbaa6252d9a1687d29b401d079dbafb6b /actions/passkey.ts
parenta528bd94a6e8e25010ae26a305550b211df0ddc6 (diff)
Diffstat (limited to 'actions/passkey.ts')
-rw-r--r--actions/passkey.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/actions/passkey.ts b/actions/passkey.ts
new file mode 100644
index 0000000..1428337
--- /dev/null
+++ b/actions/passkey.ts
@@ -0,0 +1,8 @@
+"use server";
+
+import { Text } from "react-native";
+
+export default async function renderInfo({ name }) {
+ // Securely fetch data from an API, and read environment variables...
+ return <Text>Hello, {name}!</Text>;
+}