(api: TuiApi, title: string, eyebrow: string, message: string)
| 13 | } |
| 14 | |
| 15 | export function showStatusDialog(api: TuiApi, title: string, eyebrow: string, message: string) { |
| 16 | showDialog(api, () => ( |
| 17 | <StatusDialog api={api} title={title} eyebrow={eyebrow} message={message} /> |
| 18 | )) |
| 19 | } |
| 20 | |
| 21 | export function showError(api: TuiApi, title: string, error: unknown) { |
| 22 | const message = error instanceof Error ? error.message : String(error) |
no test coverage detected