@unovis/react
Advanced tools
Comparing version
import { ForwardedRef, Ref } from 'react'; | ||
import { LeafletFlowMap, LeafletFlowMapConfigInterface } from '@unovis/ts'; | ||
export declare type VisLeafletFlowMapProps<PointDatum, FlowDatum> = LeafletFlowMapConfigInterface<PointDatum, FlowDatum> & { | ||
export declare type VisLeafletFlowMapProps<PointDatum extends Record<string, unknown>, FlowDatum extends Record<string, unknown>> = LeafletFlowMapConfigInterface<PointDatum, FlowDatum> & { | ||
data?: { | ||
@@ -11,6 +11,6 @@ points: PointDatum[]; | ||
}; | ||
export declare type VisLeafletFlowMapRef<PointDatum, FlowDatum> = { | ||
export declare type VisLeafletFlowMapRef<PointDatum extends Record<string, unknown>, FlowDatum extends Record<string, unknown>> = { | ||
component: LeafletFlowMap<PointDatum, FlowDatum> | undefined; | ||
}; | ||
export declare function VisLeafletFlowMapFC<PointDatum, FlowDatum>(props: VisLeafletFlowMapProps<PointDatum, FlowDatum>, ref: ForwardedRef<VisLeafletFlowMapRef<PointDatum, FlowDatum>>): JSX.Element; | ||
export declare const VisLeafletFlowMap: (<PointDatum, FlowDatum>(props: VisLeafletFlowMapProps<PointDatum, FlowDatum>) => JSX.Element | null); | ||
export declare function VisLeafletFlowMapFC<PointDatum extends Record<string, unknown>, FlowDatum extends Record<string, unknown>>(props: VisLeafletFlowMapProps<PointDatum, FlowDatum>, ref: ForwardedRef<VisLeafletFlowMapRef<PointDatum, FlowDatum>>): JSX.Element; | ||
export declare const VisLeafletFlowMap: (<PointDatum extends Record<string, unknown>, FlowDatum extends Record<string, unknown>>(props: VisLeafletFlowMapProps<PointDatum, FlowDatum>) => JSX.Element | null); |
import { ForwardedRef, Ref } from 'react'; | ||
import { LeafletMap, LeafletMapConfigInterface } from '@unovis/ts'; | ||
export declare type VisLeafletMapProps<Datum> = LeafletMapConfigInterface<Datum> & { | ||
export declare type VisLeafletMapProps<Datum extends Record<string, unknown>> = LeafletMapConfigInterface<Datum> & { | ||
data?: Datum[]; | ||
@@ -8,6 +8,6 @@ ref?: Ref<VisLeafletMapRef<Datum>>; | ||
}; | ||
export declare type VisLeafletMapRef<Datum> = { | ||
export declare type VisLeafletMapRef<Datum extends Record<string, unknown>> = { | ||
component: LeafletMap<Datum> | undefined; | ||
}; | ||
export declare function VisLeafletMapFC<Datum>(props: VisLeafletMapProps<Datum>, ref: ForwardedRef<VisLeafletMapRef<Datum>>): JSX.Element; | ||
export declare const VisLeafletMap: (<Datum>(props: VisLeafletMapProps<Datum>) => JSX.Element | null); | ||
export declare function VisLeafletMapFC<Datum extends Record<string, unknown>>(props: VisLeafletMapProps<Datum>, ref: ForwardedRef<VisLeafletMapRef<Datum>>): JSX.Element; | ||
export declare const VisLeafletMap: (<Datum extends Record<string, unknown>>(props: VisLeafletMapProps<Datum>) => JSX.Element | null); |
{ | ||
"name": "@unovis/react", | ||
"description": "Modular data visualization framework for React, Angular, Svelte, and vanilla TypeScript or JavaScript", | ||
"version": "1.0.0", | ||
"version": "1.0.1-beta.6", | ||
"repository": { | ||
@@ -39,5 +39,5 @@ "type": "git", | ||
"@emotion/css": "^11.7.1", | ||
"@unovis/ts": "1.0.0", | ||
"react": ">=16.8.0", | ||
"react-dom": ">=16.8.0" | ||
"@unovis/ts": "1.0.1-beta.6", | ||
"react": ">=16.8.0 || ^17 || ^18", | ||
"react-dom": ">=16.8.0 || ^17 || ^18" | ||
}, | ||
@@ -44,0 +44,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
136823
0.63%1
Infinity%