diff options
Diffstat (limited to 'actions')
-rw-r--r-- | actions/passkey.ts | 8 | ||||
-rw-r--r-- | actions/render-info.tsx | 8 |
2 files changed, 16 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>; +} diff --git a/actions/render-info.tsx b/actions/render-info.tsx new file mode 100644 index 0000000..1428337 --- /dev/null +++ b/actions/render-info.tsx @@ -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>; +} |