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 1d4eeda commit 7df46a9
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions Examples/UIExplorer/js/ActivityIndicatorExample.js
Original file line number Diff line number Diff line change
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 7df46a9

Please sign in to comment.