API reference: @salmonui/rich-text
InlineTextinterface
import type { InlineText } from '@salmonui/rich-text';interface InlineText {
type: 'text';
text: string;
marks?: InlineMark[];
}
| Name | Signature | Description |
|---|---|---|
type | type: 'text'; | |
text | text: string; | |
marksoptional | marks?: InlineMark[]; |