mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Bump Prettier to 1.13.4 on xplat
Summary: Bump Prettier to use version 1.13.4 All code changes are caused by running Prettier and should only affect files that have an `format` header. All other changes caused by yarn. Reviewed By: ryanmce Differential Revision: D8251255 fbshipit-source-id: 0b4445c35f1269d72730f2000002a27c1bc35914
This commit is contained in:
committed by
Facebook Github Bot
parent
3a1d949906
commit
29fb2a8e90
@@ -81,7 +81,7 @@ class ProgressBar extends React.Component {
|
||||
render() {
|
||||
var fractionalPosition =
|
||||
this.props.progress.position + this.props.progress.offset;
|
||||
var progressBarSize = fractionalPosition / (PAGES - 1) * this.props.size;
|
||||
var progressBarSize = (fractionalPosition / (PAGES - 1)) * this.props.size;
|
||||
return (
|
||||
<View style={[styles.progressBarContainer, {width: this.props.size}]}>
|
||||
<View style={[styles.progressBar, {width: progressBarSize}]} />
|
||||
@@ -92,7 +92,8 @@ class ProgressBar extends React.Component {
|
||||
|
||||
class ViewPagerAndroidExample extends React.Component {
|
||||
static title = '<ViewPagerAndroid>';
|
||||
static description = 'Container that allows to flip left and right between child views.';
|
||||
static description =
|
||||
'Container that allows to flip left and right between child views.';
|
||||
|
||||
state = {
|
||||
page: 0,
|
||||
|
||||
Reference in New Issue
Block a user