diff options
author | polwex <polwex@sortug.com> | 2025-07-16 07:55:57 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2025-07-16 07:55:57 +0700 |
commit | e2e14e414de25904d791b503d2852c68b3ac9415 (patch) | |
tree | 051b3b0dbaa6252d9a1687d29b401d079dbafb6b /actions/render-info.tsx | |
parent | a528bd94a6e8e25010ae26a305550b211df0ddc6 (diff) |
Diffstat (limited to 'actions/render-info.tsx')
-rw-r--r-- | actions/render-info.tsx | 8 |
1 files changed, 8 insertions, 0 deletions
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>; +} |