2022-08-27 15:58:36 +02:00
|
|
|
import { debugData } from '../../../utils/debugData';
|
|
|
|
|
import { AlertProps } from '../../dialog/AlertDialog';
|
2022-08-27 15:40:41 +02:00
|
|
|
|
|
|
|
|
export const debugAlert = () => {
|
|
|
|
|
debugData<AlertProps>([
|
|
|
|
|
{
|
2022-08-27 15:58:36 +02:00
|
|
|
action: 'sendAlert',
|
2022-08-27 15:40:41 +02:00
|
|
|
data: {
|
2022-08-27 15:58:36 +02:00
|
|
|
header: 'Hello there',
|
|
|
|
|
content: 'General kenobi \n Markdown works',
|
2022-08-27 15:40:41 +02:00
|
|
|
centered: true,
|
|
|
|
|
cancel: true,
|
2022-12-16 12:27:15 +01:00
|
|
|
// labels: {
|
|
|
|
|
// confirm: 'Ok',
|
|
|
|
|
// cancel: 'Not ok',
|
|
|
|
|
// },
|
2022-08-27 15:40:41 +02:00
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
]);
|
|
|
|
|
};
|