@@ -50,7 +50,7 @@ export default class DialogScreen extends Component {
5050 ] ;
5151
5252 this . state = {
53- panDirection : PanningProvider . Directions . DOWN ,
53+ panDirection : Dialog . directions . DOWN ,
5454 position : 'bottom' ,
5555 scroll : this . SCROLL_TYPE . NONE ,
5656 showHeader : true ,
@@ -114,7 +114,7 @@ export default class DialogScreen extends Component {
114114 return (
115115 < Text color = { Colors . $textDangerLight } > It is recommended to have pannable header with scrollable content</ Text >
116116 ) ;
117- } else if ( showHeader && panDirection !== PanningProvider . Directions . DOWN ) {
117+ } else if ( showHeader && panDirection !== Dialog . directions . DOWN ) {
118118 return < Text color = { Colors . $textDangerLight } > It is recommended to have pannable header with direction=down</ Text > ;
119119 }
120120 } ;
@@ -270,10 +270,10 @@ Scroll: ${scroll}`;
270270 < Text $textDefault > Panning Direction:</ Text >
271271 < View row marginV-10 >
272272 < 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 />
277277 </ View >
278278 </ RadioGroup >
279279
0 commit comments