Skip to content

Commit 7e8b2d2

Browse files
ctriantafjsamr
authored andcommitted
fix: add borderRadius support for Image components
1 parent ba02d31 commit 7e8b2d2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/render-html/src/elements/extractImageStyleProps.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ import pick from 'ramda/src/pick';
66
const extractProps = pick<keyof ImageStyle>([
77
'resizeMode',
88
'tintColor',
9-
'overlayColor'
9+
'overlayColor',
10+
'borderBottomLeftRadius',
11+
'borderBottomRightRadius',
12+
'borderTopLeftRadius',
13+
'borderTopRightRadius'
1014
]);
1115

1216
function mapObjectFit(objectFit: WebBlockStyles['objectFit']) {

0 commit comments

Comments
 (0)