reykit 1.0.117 → 1.0.118
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.js +24254 -5281
- package/dist/src/index.d.ts +2 -0
- package/dist/src/react.d.ts +7 -4
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as component from './components';
|
|
2
2
|
import * as base from './base';
|
|
3
3
|
import * as data from './data';
|
|
4
|
+
import * as image from './image';
|
|
4
5
|
import * as net from './net';
|
|
5
6
|
import * as re from './re';
|
|
6
7
|
import * as react from './react';
|
|
@@ -10,6 +11,7 @@ declare const _default: {
|
|
|
10
11
|
component: typeof component;
|
|
11
12
|
base: typeof base;
|
|
12
13
|
data: typeof data;
|
|
14
|
+
image: typeof image;
|
|
13
15
|
net: typeof net;
|
|
14
16
|
re: typeof re;
|
|
15
17
|
react: typeof react;
|
package/dist/src/react.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* @
|
|
3
|
+
* Render react note.
|
|
4
|
+
* Note: `react` and `react-dom` packages version must be `19.2.4`.
|
|
5
|
+
*
|
|
6
|
+
* @param app - React note.
|
|
7
|
+
* @param elementId - Render HTML element ID.
|
|
6
8
|
*/
|
|
9
|
+
export declare function renderReact(app: ReactNode, elementId?: string): void;
|
|
7
10
|
/**
|
|
8
11
|
* Hook of toggle.
|
|
9
12
|
*
|