Skip to content

Commit

Permalink
return to default version and add feats without perf gap
Browse files Browse the repository at this point in the history
  • Loading branch information
ronal2do committed May 21, 2019
1 parent a729bee commit a4d0f39
Show file tree
Hide file tree
Showing 2 changed files with 277 additions and 223 deletions.
9 changes: 6 additions & 3 deletions src/Bubble.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* @flow */
'use strict';


import React, { PureComponent } from 'react';
import {
Expand Down Expand Up @@ -27,7 +27,10 @@ export default class Thumb extends PureComponent<ThumbProps, ThumbState> {
static propTypes = {
value: PropTypes.number,
thumbTintColor: PropTypes.string,
style: PropTypes.object,
style: PropTypes.oneOfType([
PropTypes.object,
PropTypes.array
]),
TextComponent: PropTypes.any
};

Expand Down Expand Up @@ -101,7 +104,7 @@ export default class Thumb extends PureComponent<ThumbProps, ThumbState> {

const styles = StyleSheet.create({
triangle: {
top: 2,
top: 3,
width: 0,
height: 0,
backgroundColor: 'transparent',
Expand Down
Loading

0 comments on commit a4d0f39

Please sign in to comment.