RichTextCitationArgs

What RichTextOptions' renderCitation receives for one citation marker.

@internote/canvas-sdkInterface
On this page
import { RichTextCitationArgs } from '@internote/canvas-sdk';

#Fields

context
Where the citation is shown.
narrativecanvas
keyRequired
The React key the returned node must carry.
React.Key
locatorRequired
The marker's locator:, such as a page number, when it carries one.
unknown
refRequired
The compiled ref binding naming the source, as { "$chalk-binding": { id } }.
unknown

Declared in packages/canvas-sdk/src/content/types.ts:68.

Last updated