mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-16 12:39:58 +02:00
Merge branch 'sidv/splitUnicode' of https://github.com/mermaid-js/mermaid into sidv/splitUnicode
* 'sidv/splitUnicode' of https://github.com/mermaid-js/mermaid: Update packages/mermaid/src/rendering-util/types.d.ts
This commit is contained in:
@@ -4,4 +4,5 @@ export interface MarkdownWord {
|
|||||||
type: MarkdownWordType;
|
type: MarkdownWordType;
|
||||||
}
|
}
|
||||||
export type MarkdownLine = MarkdownWord[];
|
export type MarkdownLine = MarkdownWord[];
|
||||||
|
/** Returns `true` if the line fits a constraint (e.g. it's under 𝑛 chars) */
|
||||||
export type CheckFitFunction = (text: MarkdownLine) => boolean;
|
export type CheckFitFunction = (text: MarkdownLine) => boolean;
|
||||||
|
Reference in New Issue
Block a user