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

26 lines
511 B
TypeScript
Raw Normal View History

2022-08-27 15:40:41 +02:00
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",
},
},
]);
};