Research answer
Answer card with a kicker, the content, stacked Source / Date / Author(s) rows and an actions row: Copy citation, Share, Add to list.
Preview
Use the controls to explore the component's props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
content (required) | ReactNode | — | The answer. |
kicker / kickerSub | ReactNode | — | Header row. |
source / date / authors | ReactNode | — | Meta columns; omitted ones are hidden. |
onCopyCitation / onShare / onAddToList | () => void | — | Actions. Add to list behaviour is not designed — the callback is all the card does. |
Example
Research answerAnswered from 3 passages · 0.8 s
- Iliad · Homer corpus
- c. 750 BCE · Sep 2
- Homer · M. L. West
import { ResearchAnswer } from "@exegia/corpora-ui"
<ResearchAnswer
content="…"
source="Iliad · Homer corpus"
date="c. 750 BCE"
authors="Homer"
onCopyCitation={copy}
/>Last updated on