@datalith/util
Advanced tools
Comparing version 0.4.0 to 0.5.0
import { isFunction } from 'lodash'; | ||
import ResponsiveWrapper from './ResponsiveWrapper'; | ||
export { ResponsiveWrapper }; | ||
export function callOrGetValue(funcOrValue) { | ||
@@ -13,3 +14,2 @@ var args = []; | ||
} | ||
export { ResponsiveWrapper }; | ||
//# sourceMappingURL=index.js.map |
@@ -10,9 +10,9 @@ /// <reference types="react" /> | ||
export declare type Coords = CoordsAccessor | [number, number]; | ||
export declare function callOrGetValue<T>(funcOrValue: ((...args: any) => T) | T, ...args: any): T; | ||
export declare function normalize(n: number, min: number, max: number): number; | ||
export interface CommonProps { | ||
/** Custom css classes to pass to the SVG element */ | ||
/** Custom css classes to apply to the SVG element */ | ||
className?: string; | ||
/** Custom style object to apply to the SVG */ | ||
style?: React.CSSProperties; | ||
/** Optional <defs /> element to include in the SVG */ | ||
defs?: JSX.Element; | ||
/** Data array */ | ||
@@ -33,1 +33,3 @@ data: Datum[]; | ||
export { ResponsiveWrapper }; | ||
export declare function callOrGetValue<T>(funcOrValue: ((...args: any) => T) | T, ...args: any): T; | ||
export declare function normalize(n: number, min: number, max: number): number; |
{ | ||
"name": "@datalith/util", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "datalith util", | ||
@@ -40,3 +40,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "bdee57031fec6540098922405326721bb5e0706a" | ||
"gitHead": "29ec95c28a5ea623b9cadd4ea2258df97afc7f9c" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10520
147