mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
21 lines
467 B
TypeScript
21 lines
467 B
TypeScript
import { debugData } from '../../../utils/debugData';
|
|
import { AlertProps } from '../../dialog/AlertDialog';
|
|
|
|
export const debugAlert = () => {
|
|
debugData<AlertProps>([
|
|
{
|
|
action: 'sendAlert',
|
|
data: {
|
|
header: 'Hello there',
|
|
content: 'General kenobi \n Markdown works',
|
|
centered: true,
|
|
cancel: true,
|
|
// labels: {
|
|
// confirm: 'Ok',
|
|
// cancel: 'Not ok',
|
|
// },
|
|
},
|
|
},
|
|
]);
|
|
};
|