@lad-tech/mobydick-chart
Advanced tools
Comparing version 7.18.2 to 7.19.0
@@ -53,5 +53,8 @@ "use strict"; | ||
} | ||
if (!isCoordinateWithText) { | ||
return null; | ||
} | ||
return (<react_native_skia_1.Group key={coordinate.toString() + index}> | ||
<react_native_skia_1.Path path={path} style="stroke" strokeJoin="round" color={colors.BorderNormal}/> | ||
{isCoordinateWithText && (<react_native_skia_1.Text font={font} text={text} y={y} x={x} color={colors.TextSecondary}/>)} | ||
<react_native_skia_1.Text font={font} text={text} y={y} x={x} color={colors.TextSecondary}/> | ||
</react_native_skia_1.Group>); | ||
@@ -72,5 +75,8 @@ })} | ||
} | ||
if (!isCoordinateWithText) { | ||
return null; | ||
} | ||
return (<react_native_skia_1.Group key={coordinate.toString() + index}> | ||
<react_native_skia_1.Path path={path} style="stroke" strokeJoin="round" color={colors.BorderNormal}/> | ||
{isCoordinateWithText && (<react_native_skia_1.Text font={font} text={text} y={y} x={x} color={colors.TextSecondary}/>)} | ||
<react_native_skia_1.Text font={font} text={text} y={y} x={x} color={colors.TextSecondary}/> | ||
</react_native_skia_1.Group>); | ||
@@ -77,0 +83,0 @@ })} |
{ | ||
"name": "@lad-tech/mobydick-chart", | ||
"version": "7.18.2", | ||
"version": "7.19.0", | ||
"description": "React Native components library focused on usability, accessibility and developer experience", | ||
@@ -42,3 +42,3 @@ "main": "lib/index", | ||
"react": ">=17.0.2", | ||
"@lad-tech/mobydick-core": "7.18.2", | ||
"@lad-tech/mobydick-core": "7.19.0", | ||
"@shopify/react-native-skia": ">=0.1.234", | ||
@@ -45,0 +45,0 @@ "react-native-reanimated": ">=3.6.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
99676
1884