Files
ox_lib/web/src/features/dev/debug/alert.ts
T

17 lines
373 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,
},
},
]);
};