gifted-charts-core 0.0.6 → 0.0.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gifted-charts-core",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Mathematical and logical utilities used by react-gifted-charts and react-native-gifted-charts",
5
5
  "main": "index.ts",
6
6
  "files": [
@@ -590,6 +590,7 @@ export const useBarChart = (props: extendedBarChartPropsType) => {
590
590
  barBackgroundPattern: props.barBackgroundPattern,
591
591
  patternId: props.patternId,
592
592
  onPress: props.onPress,
593
+ onLongPress: props.onLongPress,
593
594
  xAxisTextNumberOfLines: xAxisTextNumberOfLines,
594
595
  xAxisLabelsHeight: props.xAxisLabelsHeight,
595
596
  xAxisLabelsVerticalShift,
@@ -512,6 +512,7 @@ export type RenderBarsPropsType = {
512
512
  patternId?: String;
513
513
  barMarginBottom?: number;
514
514
  onPress?: Function;
515
+ onLongPress?: Function;
515
516
  xAxisTextNumberOfLines: number;
516
517
  xAxisLabelsHeight?: number;
517
518
  xAxisLabelsVerticalShift: number;