INNER CODE UNIT · TypeScript
circleWidth
hoaphantn7604/react-native-curved-bottom-bar · src/CurvedBottomBar/utils/pathDown.ts:181
const circleWidth = scale(centerWidth) + scale(16);
if (borderTopLeftRight && position === 'LEFT') {
return `${lineBorderLeft(width, height, centerWidth)} ${lineCurved(
circleWidth / 3,
height,
circleWidth
)}`;
}
if (borderTopLeftRight && position === 'RIGHT') {
return `${lineBorderRight(width, height, centerWidth)} ${lineCurved(
width - circleWidth * 1.33,
height,
circleWidth
)}`;
}