Skip to content

Commit e2ab0b7

Browse files
Yury Zholobovkelset
Yury Zholobov
authored andcommitted
add Image border*Radius tests
Summary: Pull Request resolved: #20264 Differential Revision: D9228814 Pulled By: TheSavior fbshipit-source-id: cad4c15e8070c7ab2023c20045b82f7ab3f994cf
1 parent 9db3c51 commit e2ab0b7

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

RNTester/js/ImageExample.js

+24
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,30 @@ exports.examples = [
443443
style={[styles.base, styles.leftMargin, {borderRadius: 19}]}
444444
source={fullImage}
445445
/>
446+
<Image
447+
style={[styles.base, styles.leftMargin, {borderTopLeftRadius: 20}]}
448+
source={fullImage}
449+
/>
450+
<Image
451+
style={[styles.base, styles.leftMargin, {
452+
borderWidth: 10,
453+
borderTopLeftRadius: 10,
454+
borderBottomRightRadius: 20,
455+
borderColor: 'green',
456+
}]}
457+
source={fullImage}
458+
/>
459+
<Image
460+
style={[styles.base, styles.leftMargin, {
461+
borderWidth: 5,
462+
borderTopLeftRadius: 10,
463+
borderTopRightRadius: 20,
464+
borderBottomRightRadius: 30,
465+
borderBottomLeftRadius: 40,
466+
borderColor: 'red',
467+
}]}
468+
source={fullImage}
469+
/>
446470
</View>
447471
);
448472
},

0 commit comments

Comments
 (0)