React Native
A recipe using Image and the shared registry.
Installation
npm install @telyx/corePackages are built locally; PyPI/npm publication is still pending.
Image recipe
This is a recipe using shared core, not a separate native package. Use your real Telyx URL. TGS uses a static preview.
TSX
import { Image } from "react-native";
import { tx } from "@telyx/core";
const path = tx.wallet.data.preview || tx.wallet.data.asset;
export default function Example() {
return path ? <Image
source={{ uri: `https://your-telyx.example${path}` }}
style={{ width: 24, height: 24 }}
accessibilityLabel={tx.wallet.name}
/> : null;
}