Skip to content

Commit 73f27d7

Browse files
committed
Test Picker with non pure Component
1 parent 5dd7cb6 commit 73f27d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/picker/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// TODO: deprecate getItemLabel prop
44
import _ from 'lodash';
55
import PropTypes from 'prop-types';
6-
import React, {PureComponent} from 'react';
6+
import React, {Component} from 'react';
77
import {asBaseComponent, forwardRef} from '../../commons';
88
import {LogService} from '../../services';
99
import View from '../../components/view';
@@ -32,7 +32,7 @@ const ItemType = PropTypes.oneOfType([
3232
* @gif: https://media.giphy.com/media/3o751SiuZZiByET2lq/giphy.gif, https://media.giphy.com/media/TgMQnyw5grJIDohzvx/giphy.gif, https://media.giphy.com/media/5hsdmVptBRskZKn787/giphy.gif
3333
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/PickerScreen.js
3434
*/
35-
class Picker extends PureComponent {
35+
class Picker extends Component {
3636
static displayName = 'Picker';
3737
static propTypes = {
3838
/**

0 commit comments

Comments
 (0)