Skip to content

Latest commit

 

History

History
37 lines (37 loc) · 954 Bytes

sdk-header.mdx

File metadata and controls

37 lines (37 loc) · 954 Bytes

export const SdkHeader = ({ language, feature }) => (

While each Modus SDK offers similar capabilities, the APIs and usage may vary between languages.

Modus {feature} APIs documentation is available on the following pages:

    {(() => { const languages = ["AssemblyScript", "Go"] const page = feature.toLowerCase().replace(/\W/g, "") return languages.map((lang) => { if (lang === language) { return (
  • {lang} {feature} APIs (this page)
  • ) } else { return (
  • <a href={../${lang.toLowerCase()}/${page}}> {lang} {feature} APIs
  • ) } }) })()}
)