import { Sirius } from '@sirius/sdk' const client = new Sirius(apiKey)await client.members.create({ name })A code card with a filename header over syntax-toned, line-numbered source.
The import and the props worth knowing about, in one place.
import { Code13 } from "@/components/beste/piece/code13";
<Code13
filename="members.ts"
lines={[
[
{
"text": "import",
"tone": "keyword"
},
{
"text": " { Sirius } "
},
{
"text": "from",
"tone": "keyword"
},
{
"text": " "
},
{
"text": "'@sirius/sdk'",
"tone": "string"
}
],
[],
[
{
"text": "const",
"tone": "keyword"
},
{
"text": " client = "
},
{
"text": "new",
"tone": "keyword"
},
{
"text": " Sirius(apiKey)"
}
],
[
{
"text": "await",
"tone": "keyword"
},
{
"text": " client.members."
},
{
"text": "create",
"tone": "fn"
},
{
"text": "({ name })"
}
]
]}
bordered={false}
/>