Atoms
Reference
Reference chip pointing at the node, passage or source a suggestion is grounded in, with an optional hover preview of the passage.
Usage
import { Reference } from "@exegia/corpora-ui"
<Reference href="/corpus/iliad/1.12" preview={passage}>
Iliad 1.12
</Reference>API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| href | string | — | Renders the chip as a link. |
| preview | ReactNode | — | The passage, shown in a PreviewCard on hover / focus. Omitted, no card. |
Last updated on