synos-helena 24.0.5-beta.0 → 24.0.5-beta.2

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.
Binary file
@@ -0,0 +1,22 @@
1
+ import type { ReactNode, ComponentType, ComponentPropsWithoutRef } from 'react';
2
+ import type { Position } from 'unist';
3
+ import type { Element } from 'hast';
4
+ export interface ReactMarkdownProps {
5
+ node: Element;
6
+ children: ReactNode[];
7
+ /**
8
+ * Passed when `options.rawSourcePos` is given
9
+ */
10
+ sourcePosition?: Position;
11
+ /**
12
+ * Passed when `options.includeElementIndex` is given
13
+ */
14
+ index?: number;
15
+ /**
16
+ * Passed when `options.includeElementIndex` is given
17
+ */
18
+ siblingCount?: number;
19
+ }
20
+ export declare type NormalComponents = {
21
+ [TagName in keyof JSX.IntrinsicElements]: keyof JSX.IntrinsicElements | ComponentType<ComponentPropsWithoutRef<TagName> & ReactMarkdownProps>;
22
+ };
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ErrorPropTypes } from '.';
3
+ declare const Error: React.FC<ErrorPropTypes>;
4
+ export default Error;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synos-helena",
3
- "version": "24.0.5-beta.0",
3
+ "version": "24.0.5-beta.2",
4
4
  "description": "A set of components of the helena project",
5
5
  "main": "lib/index.js",
6
6
  "typings": "src/index.d.ts",