@cryptofi/core-ui 0.42.0 → 0.43.0
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +4 -2
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -314,7 +314,7 @@ declare const utcDateToLocal: ({ dateFormat, timeString, }: {
|
|
|
314
314
|
}) => string;
|
|
315
315
|
//# sourceMappingURL=utcDateToLocal.d.ts.map
|
|
316
316
|
|
|
317
|
-
declare const CfAreaChart: ({ data, dataKey, width, height, areaType, showTooltip, isAnimated, formatter, sampleRate, style, }: {
|
|
317
|
+
declare const CfAreaChart: ({ data, dataKey, width, height, areaType, showTooltip, isAnimated, formatter, labelFormatter, sampleRate, style, }: {
|
|
318
318
|
data: any[] | undefined;
|
|
319
319
|
dataKey: string;
|
|
320
320
|
width?: string | undefined;
|
|
@@ -323,6 +323,7 @@ declare const CfAreaChart: ({ data, dataKey, width, height, areaType, showToolti
|
|
|
323
323
|
showTooltip?: boolean | undefined;
|
|
324
324
|
isAnimated?: boolean | undefined;
|
|
325
325
|
formatter?: ((value: number) => string) | undefined;
|
|
326
|
+
labelFormatter?: ((index: number, chartValue: any[]) => string | undefined) | undefined;
|
|
326
327
|
sampleRate?: number | undefined;
|
|
327
328
|
style?: react.CSSProperties | undefined;
|
|
328
329
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -397,7 +398,7 @@ type Props$3<T extends FieldValues> = {
|
|
|
397
398
|
declare const CfInputArray: <T extends FieldValues>({ name, control, register, defaultValues, onArrayAppend, onArrayRemove, }: Props$3<T>) => react_jsx_runtime.JSX.Element;
|
|
398
399
|
//# sourceMappingURL=InputArray.d.ts.map
|
|
399
400
|
|
|
400
|
-
declare const CfLineChart: ({ data, dataKey, width, height, lineType, showTooltip, isAnimated, formatter, sampleRate, style, }: {
|
|
401
|
+
declare const CfLineChart: ({ data, dataKey, width, height, lineType, showTooltip, isAnimated, formatter, labelFormatter, sampleRate, style, }: {
|
|
401
402
|
data: any[] | undefined;
|
|
402
403
|
dataKey: string;
|
|
403
404
|
width?: string | undefined;
|
|
@@ -406,6 +407,7 @@ declare const CfLineChart: ({ data, dataKey, width, height, lineType, showToolti
|
|
|
406
407
|
showTooltip?: boolean | undefined;
|
|
407
408
|
isAnimated?: boolean | undefined;
|
|
408
409
|
formatter?: ((value: number) => string) | undefined;
|
|
410
|
+
labelFormatter?: ((index: number, chartValue: any[]) => string | undefined) | undefined;
|
|
409
411
|
sampleRate?: number | undefined;
|
|
410
412
|
style?: react.CSSProperties | undefined;
|
|
411
413
|
}) => react_jsx_runtime.JSX.Element;
|