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

27 lines
511 B
TypeScript

import { debugData } from '../../../utils/debugData';
import { ProgressbarProps } from '../../progress/Progressbar';
export const debugProgressbar = () => {
debugData<ProgressbarProps>([
{
action: 'progress',
data: {
label: 'Using Lockpick',
duration: 8000,
},
},
]);
};
export const debugCircleProgressbar = () => {
debugData([
{
action: 'circleProgress',
data: {
duration: 8000,
label: 'Using Armour',
},
},
]);
};