import { Callout } from "nextra/components"; import { NYM_SDK_VERSION, SMOLMIX_VERSION } from "./versions"; const VERSIONS: Record = { "nym-sdk": NYM_SDK_VERSION, smolmix: SMOLMIX_VERSION, }; const EXAMPLES_URLS: Record = { "nym-sdk": "https://github.com/nymtech/nym/tree/develop/sdk/rust/nym-sdk/examples", smolmix: "https://github.com/nymtech/nym/tree/develop/smolmix/core/examples", }; interface CodeVerifiedProps { /** Crate name to display. Defaults to "nym-sdk". */ crate?: keyof typeof VERSIONS; } export const CodeVerified = ({ crate: crateName = "nym-sdk" }: CodeVerifiedProps) => ( Code verified against{" "} {crateName} v{VERSIONS[crateName]}. If the API has changed since then, check the{" "} examples in the repo {" "} for the latest usage. );