File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export default class App extends Component {
1616 default :
1717 const random = Math . floor ( Math . random ( ) * 4000 + 1 ) ;
1818 const title = `${ item . type } in ${ random } milliseconds` ;
19- this . dropdown . alertWithType (
19+ this . dropDownAlertRef . alertWithType (
2020 item . type ,
2121 title ,
2222 item . message ,
@@ -42,14 +42,15 @@ export default class App extends Component {
4242 < SafeAreaView style = { styles . container } >
4343 < List onSelect = { ( { item, index } ) => this . onSelect ( { item, index } ) } />
4444 < DropdownAlert
45- ref = { ref => this . dropdown = ref }
45+ ref = { ref => this . dropDownAlertRef = ref }
4646 containerStyle = { {
4747 backgroundColor : MAIN_CUSTOM_COLOR ,
4848 } }
4949 showCancel = { true }
5050 onCancel = { this . _onCancel }
5151 onTap = { this . _onTap }
5252 messageNumOfLines = { 0 }
53+ onClose = { this . _onClose }
5354 />
5455 </ SafeAreaView >
5556 ) ;
You can’t perform that action at this time.
0 commit comments