A quotation put forward as proof of something, with its source.
passage is the surrounding text and quote marks the part relied on, which is what lets a reader see whether the quote survives its context. A quote with the context stripped is the oldest way to misrepresent a source.
Nothing is drawn when neither is present. A caller passing only quote used to get an empty bordered box; now the quote stands on its own.
import { Evidence } from '@redrob-labs/ui';
| Prop | Type | Notes |
|---|---|---|
claim |
React.ReactNode |
What this passage is put forward as proving. |
claimLabel |
React.ReactNode |
|
passage |
React.ReactNode |
The surrounding text. The quote is highlighted inside it. |
quote |
string |
The part actually relied on. |
source |
React.ReactNode |
|
href |
string |
|
meta |
React.ReactNode |
|
actions |
React.ReactNode |
|
className |
string |