Fix App.jsx two-page workflow JSX render and update study app layout
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
import { ElementWrapper } from './traverser';
|
||||
export type IRenderedParagraphNode = {
|
||||
readonly text: string;
|
||||
readonly runs: readonly IRenderedRunNode[];
|
||||
readonly index: number;
|
||||
readonly pathToParagraph: readonly number[];
|
||||
};
|
||||
type StartAndEnd = {
|
||||
readonly start: number;
|
||||
readonly end: number;
|
||||
};
|
||||
type IParts = {
|
||||
readonly text: string;
|
||||
readonly index: number;
|
||||
} & StartAndEnd;
|
||||
export type IRenderedRunNode = {
|
||||
readonly text: string;
|
||||
readonly parts: readonly IParts[];
|
||||
readonly index: number;
|
||||
} & StartAndEnd;
|
||||
export declare const renderParagraphNode: (node: ElementWrapper) => IRenderedParagraphNode;
|
||||
export {};
|
||||
Reference in New Issue
Block a user