File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -82,8 +82,10 @@ class PickerDialog extends BaseComponent {
82
82
83
83
render ( ) {
84
84
const dialogProps = extractComponentProps ( Dialog , this . props ) ;
85
+ // TODO: should be taken from dialogProps but there's an issue with "babel-plugin-typescript-to-proptypes" plugin
86
+ const { panDirection} = this . props ;
85
87
return (
86
- < Dialog { ...dialogProps } migrate height = "50%" width = "77%" >
88
+ < Dialog { ...dialogProps } migrate height = "50%" width = "77%" panDirection = { panDirection } >
87
89
< View style = { styles . dialog } >
88
90
{ this . renderHeader ( ) }
89
91
< View flex center paddingH-24 >
Original file line number Diff line number Diff line change @@ -53,8 +53,10 @@ class PickerDialog extends BaseComponent {
53
53
54
54
render ( ) {
55
55
const dialogProps = extractComponentProps ( Dialog , this . props ) ;
56
+ // TODO: should be taken from dialogProps but there's an issue with "babel-plugin-typescript-to-proptypes" plugin
57
+ const { panDirection} = this . props ;
56
58
return (
57
- < Dialog { ...dialogProps } height = { 250 } width = "100%" migrate bottom animationConfig = { { duration : 300 } } >
59
+ < Dialog { ...dialogProps } height = { 250 } width = "100%" migrate bottom animationConfig = { { duration : 300 } } panDirection = { panDirection } >
58
60
< View flex bg-white >
59
61
{ this . renderHeader ( ) }
60
62
< View centerV flex >
You can’t perform that action at this time.
0 commit comments