diff --git a/package.json b/package.json index ad6f0a43..78b021d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@payhereinc/react-native-week-view", - "version": "0.6.4", + "version": "0.6.5", "description": "Week View Calendar for React Native", "main": "index.js", "repository": { diff --git a/src/Event/Event.js b/src/Event/Event.js index 5d45d7fa..e6653c64 100644 --- a/src/Event/Event.js +++ b/src/Event/Event.js @@ -99,8 +99,8 @@ const Event = ({ width: currentWidth, backgroundColor: event.color, transform: translatedByDrag.getTranslateTransform(), - borderWidth: event.color === '#ffffff' ? 1 : 0, - borderRadius: event.color === '#ffffff' ? 4 : 0, + borderWidth: event.borderWidth, + borderRadius: 8, borderColor: event.borderColor }, containerStyle,