React
A component for web interfaces.
Installation
npm install @telyx/reactPackages are built locally; PyPI/npm publication is still pending.
Component
Telyx already serves /icons and /previews. In another app, set assetBaseUrl to your Telyx hosting URL.
TSX
import { TelyxIcon } from "@telyx/react";
export default function Example() {
return <TelyxIcon name="wallet" size={24} />;
}External assets
TSX
<TelyxIcon name="wallet" size={32} assetBaseUrl="https://your-telyx.example" />Telegram separately
React rendering is intended for web interfaces and previews. Telegram messages use custom emoji markup through @telyx/core.
TypeScript
import { tx } from "@telyx/core";
const message = `${tx.wallet} Баланс`;