@apia/tree 0.1.3 → 0.2.4
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 +1 -2
- package/dist/index.js +1450 -1
- package/dist/index.js.map +1 -1
- package/package.json +7 -8
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as theme_ui_jsx_runtime from 'theme-ui/jsx-runtime';
|
|
2
1
|
import React, { RefObject } from 'react';
|
|
3
2
|
import { EventEmitter, PropsStore, TModify, TRequireOnlyOne, TUpdateFieldConfiguration, TPropsConfiguration } from '@apia/util';
|
|
4
3
|
import { TIconName } from '@apia/icons';
|
|
@@ -302,7 +301,7 @@ type TDataNode<NodeProps extends Record<string, unknown> = Record<string, unknow
|
|
|
302
301
|
title: string;
|
|
303
302
|
}>;
|
|
304
303
|
|
|
305
|
-
declare const _default: <NodeProps extends Record<string, unknown> = Record<string, unknown>, NodeType extends TDataNode<NodeProps> = TDataNode<NodeProps>>(props: TTreeProps<NodeProps, NodeType>) =>
|
|
304
|
+
declare const _default: <NodeProps extends Record<string, unknown> = Record<string, unknown>, NodeType extends TDataNode<NodeProps> = TDataNode<NodeProps>>(props: TTreeProps<NodeProps, NodeType>) => React.JSX.Element;
|
|
306
305
|
|
|
307
306
|
type TTreeContext<NodeProps extends Record<string, unknown> = Record<string, unknown>, NodeType extends TDataNode<NodeProps> = TDataNode<NodeProps>> = {
|
|
308
307
|
forceUpdate: number;
|