Skip to content

Commit

Permalink
Add examples with custom size number usage
Browse files Browse the repository at this point in the history
  • Loading branch information
fadils committed Jul 23, 2016
1 parent 6ebcd81 commit a86576d
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion Examples/UIExplorer/js/ActivityIndicatorExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ exports.examples = [
return (
<ActivityIndicator
style={[styles.centering, styles.gray]}
color="white"
size="large"
color="white"
/>
);
}
Expand Down Expand Up @@ -161,8 +161,21 @@ exports.examples = [
);
}
},
{
platform: 'android',
title: 'Custom size (size: 75)',
render() {
return (
<ActivityIndicator
style={styles.centering}
size={75}
/>
);
}
},
];


const styles = StyleSheet.create({
centering: {
alignItems: 'center',
Expand Down

0 comments on commit a86576d

Please sign in to comment.