We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eccce40 commit d63f0e9Copy full SHA for d63f0e9
generatedTypes/index.d.ts
@@ -99,6 +99,7 @@ export {
99
WheelPickerProps,
100
ColorPicker,
101
Picker,
102
+ PickerItemValue,
103
PickerProps
104
} from '../typings';
105
src/components/picker/index.js
@@ -186,6 +186,11 @@ class Picker extends Component {
186
value: nextProps.value
187
};
188
}
189
+ } else if (_.isFunction(nextProps.renderPicker) && prevState.value !== nextProps.value) {
190
+ return {
191
+ prevValue: prevState.value,
192
+ value: nextProps.value
193
+ };
194
195
return null;
196
0 commit comments