diff --git a/packages/rn-tester/js/examples/Border/BorderExample.js b/packages/rn-tester/js/examples/Border/BorderExample.js index c2ad231bd32..b58c8e6a17e 100644 --- a/packages/rn-tester/js/examples/Border/BorderExample.js +++ b/packages/rn-tester/js/examples/Border/BorderExample.js @@ -211,17 +211,25 @@ export default ({ title: 'Equal-Width / Same-Color', name: 'equal-width-same-color', description: 'borderWidth & borderColor', - render: function ({testID}): React.Node { - return ; + render: function (): React.Node { + return ( + + ); }, }, { title: 'Equal-Width / Same-Color', name: 'equal-width-same-color-border-radius', description: 'borderWidth & borderColor & borderRadius', - render: function ({testID}): React.Node { + render: function (): React.Node { return ( - + ); }, }, @@ -229,24 +237,39 @@ export default ({ title: 'Equal-Width Borders', name: 'equal-width-borders', description: 'borderWidth & border*Color', - render: function ({testID}): React.Node { - return ; + render: function (): React.Node { + return ( + + ); }, }, { title: 'Same-Color Borders', name: 'same-color-borders', description: 'border*Width & borderColor', - render: function ({testID}): React.Node { - return ; + render: function (): React.Node { + return ( + + ); }, }, { title: 'Custom Borders', name: 'custom-borders', description: 'border*Width & border*Color', - render: function ({testID}): React.Node { - return ; + render: function (): React.Node { + return ( + + ); }, }, { @@ -254,8 +277,13 @@ export default ({ name: 'custom-borders-ios-1', description: 'border*Width & border*Color', platform: 'ios', - render: function ({testID}): React.Node { - return ; + render: function (): React.Node { + return ( + + ); }, }, { @@ -263,8 +291,13 @@ export default ({ name: 'custom-borders-ios-2', description: 'border*Width & border*Color', platform: 'ios', - render: function ({testID}): React.Node { - return ; + render: function (): React.Node { + return ( + + ); }, }, { @@ -272,9 +305,11 @@ export default ({ name: 'custom-borders-ios-clipping', description: 'borderRadius & clipping', platform: 'ios', - render: function ({testID}): React.Node { + render: function (): React.Node { return ( - + ); @@ -284,9 +319,9 @@ export default ({ title: 'Single Borders', name: 'single-borders', description: 'top, left, bottom right', - render: function ({testID}): React.Node { + render: function (): React.Node { return ( - + @@ -299,8 +334,13 @@ export default ({ title: 'Corner Radii', name: 'corner-radii', description: 'borderTopLeftRadius & borderBottomRightRadius', - render: function ({testID}): React.Node { - return ; + render: function (): React.Node { + return ( + + ); }, }, { @@ -308,48 +348,78 @@ export default ({ name: 'corner-radii-elevation', description: 'borderTopLeftRadius & borderBottomRightRadius & elevation', platform: 'android', - render: function ({testID}): React.Node { - return ; + render: function (): React.Node { + return ( + + ); }, }, { title: 'CSS Trick - Triangle', name: 'css-trick-triangle', description: 'create a triangle by manipulating border colors and widths', - render: function ({testID}): React.Node { - return ; + render: function (): React.Node { + return ( + + ); }, }, { title: 'Curved border(Left|Right|Bottom|Top)Width', name: 'curved-border-lrbt-width', description: 'Make a non-uniform width curved border', - render: function ({testID}): React.Node { - return ; + render: function (): React.Node { + return ( + + ); }, }, { title: 'Curved border(Left|Right|Bottom|Top)Color', name: 'curved-border-lrbt-color', description: 'Make a non-uniform color curved border', - render: function ({testID}): React.Node { - return ; + render: function (): React.Node { + return ( + + ); }, }, { title: 'Curved border(Top|Bottom)(Left|Right)Radius', name: 'curved-border-tb-lr-radius', description: 'Make a non-uniform radius curved border', - render: function ({testID}): React.Node { - return ; + render: function (): React.Node { + return ( + + ); }, }, { title: 'System color', name: 'system-color', description: 'Using a platform color', - render: function ({testID}): React.Node { - return ; + render: function (): React.Node { + return ( + + ); }, }, { @@ -357,8 +427,13 @@ export default ({ name: 'dynamic-color-ios', description: 'Using a custom dynamic color', platform: 'ios', - render: function ({testID}): React.Node { - return ; + render: function (): React.Node { + return ( + + ); }, }, ],