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 17, 2016
1 parent 803286b commit 6bd83cc
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions 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 @@ -151,12 +151,34 @@ exports.examples = [
}
},
{
title: 'Custom size',
title: 'Custom size (size: 48)',
render() {
return (
<ActivityIndicator
style={styles.centering}
size={48}
/>
);
}
},
{
title: 'Custom size (size: 56)',
render() {
return (
<ActivityIndicator
style={styles.centering}
size={56}
/>
);
}
},
{
title: 'Custom size (size: 30, scale transform: 1.5)',
render() {
return (
<ActivityIndicator
style={[styles.centering, {transform: [{scale: 1.5}]}]}
size="large"
size={30}
/>
);
}
Expand Down

0 comments on commit 6bd83cc

Please sign in to comment.