add Image border*Radius tests

Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/20264

Differential Revision: D9228814

Pulled By: TheSavior

fbshipit-source-id: cad4c15e8070c7ab2023c20045b82f7ab3f994cf
This commit is contained in:
Yury Zholobov 2018-08-08 14:19:49 -07:00 committed by Facebook Github Bot
parent 617e25d9b5
commit 9b5b07f97f
1 changed files with 24 additions and 0 deletions

View File

@ -443,6 +443,30 @@ exports.examples = [
style={[styles.base, styles.leftMargin, {borderRadius: 19}]}
source={fullImage}
/>
<Image
style={[styles.base, styles.leftMargin, {borderTopLeftRadius: 20}]}
source={fullImage}
/>
<Image
style={[styles.base, styles.leftMargin, {
borderWidth: 10,
borderTopLeftRadius: 10,
borderBottomRightRadius: 20,
borderColor: 'green',
}]}
source={fullImage}
/>
<Image
style={[styles.base, styles.leftMargin, {
borderWidth: 5,
borderTopLeftRadius: 10,
borderTopRightRadius: 20,
borderBottomRightRadius: 30,
borderBottomLeftRadius: 40,
borderColor: 'red',
}]}
source={fullImage}
/>
</View>
);
},