@@ -50,7 +50,7 @@ export default class DialogScreen extends Component {
50
50
] ;
51
51
52
52
this . state = {
53
- panDirection : PanningProvider . Directions . DOWN ,
53
+ panDirection : Dialog . directions . DOWN ,
54
54
position : 'bottom' ,
55
55
scroll : this . SCROLL_TYPE . NONE ,
56
56
showHeader : true ,
@@ -114,7 +114,7 @@ export default class DialogScreen extends Component {
114
114
return (
115
115
< Text color = { Colors . $textDangerLight } > It is recommended to have pannable header with scrollable content</ Text >
116
116
) ;
117
- } else if ( showHeader && panDirection !== PanningProvider . Directions . DOWN ) {
117
+ } else if ( showHeader && panDirection !== Dialog . directions . DOWN ) {
118
118
return < Text color = { Colors . $textDangerLight } > It is recommended to have pannable header with direction=down</ Text > ;
119
119
}
120
120
} ;
@@ -270,10 +270,10 @@ Scroll: ${scroll}`;
270
270
< Text $textDefault > Panning Direction:</ Text >
271
271
< View row marginV-10 >
272
272
< RadioButton value = { null } label = { 'None' } />
273
- < RadioButton value = { PanningProvider . Directions . UP } label = { 'Up' } marginL-10 />
274
- < RadioButton value = { PanningProvider . Directions . DOWN } label = { 'Down' } marginL-10 />
275
- < RadioButton value = { PanningProvider . Directions . LEFT } label = { 'Left' } marginL-10 />
276
- < RadioButton value = { PanningProvider . Directions . RIGHT } label = { 'Right' } marginL-10 />
273
+ < RadioButton value = { Dialog . directions . UP } label = { 'Up' } marginL-10 />
274
+ < RadioButton value = { Dialog . directions . DOWN } label = { 'Down' } marginL-10 />
275
+ < RadioButton value = { Dialog . directions . LEFT } label = { 'Left' } marginL-10 />
276
+ < RadioButton value = { Dialog . directions . RIGHT } label = { 'Right' } marginL-10 />
277
277
</ View >
278
278
</ RadioGroup >
279
279
0 commit comments