GeekyAnts / GeekyAnts/NativeBase
need global AlterDialog
- Dominant language
- TypeScript
- Stars
- 20.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Description
need global AlterDialog
### Problem Statement
Need a global alter similar to toast,This can pop up different error messages in the request interceptor to block user actions
### Proposed Solution or API
Alterdialog.Alter({
render: () => CustomAlter // Custom Function Component
placement: 'top' / 'center'
})
or
Dialog.confirm({
title: 'title',
message:
'If the solution is ugly, then there must be a better solution, but it has not been discovered yet.',
})
.then(() => {
// on confirm
})
.catch(() => {
// on cancel
});
### Alternatives
_No response_
### Additional Information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.