@figtreejs/core 0.0.1-beta.1 → 0.1.0-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.
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +1219 -1261
- package/package.json +5 -5
- package/src/tests/baubles/__snapshots__/node-labels.test.tsx.snap +12 -12
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { immerable } from 'immer';
|
|
2
|
-
import { JSX
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
3
3
|
import { ScaleContinuousNumeric } from 'd3-scale';
|
|
4
4
|
|
|
5
5
|
/** A single, generic annotation, discriminated by `type`. */
|
|
@@ -223,7 +223,7 @@ export declare type ExternalLabelOptions = Omit<LabelOptions, "attrs"> & {
|
|
|
223
223
|
attrs?: LabelAttrs;
|
|
224
224
|
};
|
|
225
225
|
|
|
226
|
-
export declare function FigTree(props: FigtreeProps):
|
|
226
|
+
export declare function FigTree(props: FigtreeProps): JSX.Element;
|
|
227
227
|
|
|
228
228
|
export declare interface FigtreeProps {
|
|
229
229
|
width: number;
|