@incremark/react 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ import { IncremarkParserOptions, AnimationEffect, TransformerPlugin, ParsedBlock
2
2
  export { AnimationEffect, BlockTransformer, DisplayBlock, IncrementalUpdate, ParsedBlock, ParserOptions, Root, RootContent, SourceBlock, TransformerOptions, TransformerPlugin, TransformerState, allPlugins, cloneNode, codeBlockPlugin, countChars, createBlockTransformer, createPlugin, defaultPlugins, imagePlugin, mathPlugin, mermaidPlugin, sliceAst, thematicBreakPlugin } from '@incremark/core';
3
3
  import React$1, { ReactNode, ComponentType } from 'react';
4
4
  import { Definition, FootnoteDefinition, RootContent, PhrasingContent } from 'mdast';
5
+ export { Blockquote, Code, Definition, FootnoteDefinition, HTML, Heading, Image, ImageReference, InlineCode, Link, LinkReference, List, ListItem, Root as MdastRoot, Paragraph, Parent, PhrasingContent, Table, TableCell, Text, ThematicBreak } from 'mdast';
5
6
  import * as _incremark_devtools from '@incremark/devtools';
6
7
  import { DevToolsOptions } from '@incremark/devtools';
7
8
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -305,6 +306,9 @@ interface UseLocaleReturn {
305
306
  /** 翻译函数 */
306
307
  t: (key: string) => string;
307
308
  }
309
+ /**
310
+ * 使用 locale
311
+ */
308
312
  declare function useLocale(): UseLocaleReturn;
309
313
 
310
314
  type ComponentMap = Partial<Record<string, ComponentType<{