- useAlert(params?): ((__namedParameters?: Partial<IParams>) => (Anonymous class))
Returns ((__namedParameters?: Partial<IParams>) => (Anonymous class))
- A function that, when called, displays the alert and returns a Promise.
The Promise resolves when the alert is closed.
- (__namedParameters?): (Anonymous class)
Parameters
- __namedParameters: Partial<IParams> = {}
Returns (Anonymous class)
Function for displaying an alert modal.