We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Picker's useWheelPicker modal is missing cancelLabel button even if I set it. Plus no matter how I apply styles, it is not getting it.
useWheelPicker
<Picker label="Trip type" useWheelPicker value={tripType} onChange={nativePickerValue => setTripType(nativePickerValue)} trailingAccessory={<ReloadSvg width={24} height={24} fill='black'/>} containerStyle={{borderWidth: 1, borderColor: Colors.grey50, padding: 3}} topBarProps={{ doneLabel: 'Ok', cancelLabel: 'NO', title: 'Trip type', useSafeArea: true, includeStatusBar: true, titleStyle: {color: 'red'}, containerStyle: {backgroundColor: 'red'} }} > {_.map(options, option => ( <Picker.Item key={option.value} value={option.value} label={option.label} disabled={option.disabled}/> ))} </Picker>
The text was updated successfully, but these errors were encountered:
is there a way to style the OK button? it's shifted to the right too much.
Sorry, something went wrong.
@kilimchoi Have you tried passing doneButtonProps in topBarProps?
doneButtonProps
topBarProps
@castusoft You need to pass a callback to onCancel in topBarProps in order for it to be rendered
onCancel
trofima
Successfully merging a pull request may close this issue.
Picker's
useWheelPicker
modal is missing cancelLabel button even if I set it. Plus no matter how I apply styles, it is not getting it.Related to
Screenshots/Video
Environment
Affected platforms
The text was updated successfully, but these errors were encountered: