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

26 lines
511 B
TypeScript
Raw Normal View History

2022-08-27 15:58:36 +02:00
import { debugData } from '../../../utils/debugData';
import { ProgressbarProps } from '../../progress/Progressbar';
2022-08-27 15:40:41 +02:00
export const debugProgressbar = () => {
debugData<ProgressbarProps>([
{
2022-08-27 15:58:36 +02:00
action: 'progress',
2022-08-27 15:40:41 +02:00
data: {
2022-08-27 15:58:36 +02:00
label: 'Using Lockpick',
2022-08-27 15:40:41 +02:00
duration: 8000,
},
},
]);
};
export const debugCircleProgressbar = () => {
debugData([
{
2022-08-27 15:58:36 +02:00
action: 'circleProgress',
2022-08-27 15:40:41 +02:00
data: {
duration: 8000,
2022-08-27 15:58:36 +02:00
label: 'Using Armour',
2022-08-27 15:40:41 +02:00
},
},
]);
};