View as Markdown

API reference: @salmonui/rich-text

InlineLinkinterface

import type { InlineLink } from '@salmonui/rich-text';
interface InlineLink {
    type: 'link';
    href: string;
    target?: '_blank';
    content: InlineText[];
}
InlineLink members (4)
NameSignatureDescription
typetype: 'link';
hrefhref: string;
targetoptionaltarget?: '_blank';
contentcontent: InlineText[];