Open History to see the last commit
1import {
2 SelectableMarkdownText as T3SelectableMarkdownText,
3 type SelectableMarkdownTextProps,
4} from "@t3tools/mobile-markdown-text/renderer";
5
6import { highlightCodeSnippet } from "../features/review/shikiReviewHighlighter";
7
8type MobileSelectableMarkdownTextProps = Omit<SelectableMarkdownTextProps, "highlightCode">;
9
10export type {
11 MarkdownImageRenderer,
12 MarkdownImageRequest,
13 NativeMarkdownTextStyle,
14 SelectableMarkdownSkill,
15} from "@t3tools/mobile-markdown-text/types";
16
17export function hasNativeSelectableMarkdownText(): boolean {
18 return true;
19}
20
21export function SelectableMarkdownText(props: MobileSelectableMarkdownTextProps) {
22 return <T3SelectableMarkdownText {...props} highlightCode={highlightCodeSnippet} />;
23}