From 609f3ea0c6df60e7c22eaea332909c902d8bfe99 Mon Sep 17 00:00:00 2001 From: Bruno Lemos Date: Thu, 24 Nov 2016 20:29:00 -0200 Subject: [PATCH] Fix borderRadius on Image component For some reason, if we transform `borderRadius`, it doesn't work on `Image`. But if we don't transform, it still works everywhere. ``` const AvatarImage = styled.Image` width: ${({ size }) => size}; height: ${({ size }) => size}; background-color: black; border-radius: 4; `; ``` ``` const AvatarView = styled.View` width: ${({ size }) => size}; height: ${({ size }) => size}; background-color: black; border-radius: 4; `; ``` --- src/index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/index.js b/src/index.js index 7f726d6..7e17668 100644 --- a/src/index.js +++ b/src/index.js @@ -6,9 +6,6 @@ const grammar = require('./grammar'); const transforms = [ 'background', 'border', - 'borderColor', - 'borderRadius', - 'borderWidth', 'flex', 'flexFlow', 'font',