mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 15:06:02 +01:00
refactor(web): move all types into typings folder
This commit is contained in:
@@ -3,13 +3,7 @@ import { RingProgress, Text, useMantineTheme, keyframes, Stack, createStyles } f
|
||||
import { useNuiEvent } from '../../hooks/useNuiEvent';
|
||||
import { fetchNui } from '../../utils/fetchNui';
|
||||
import ScaleFade from '../../transitions/ScaleFade';
|
||||
|
||||
export interface CircleProgressbarProps {
|
||||
label?: string;
|
||||
duration: number;
|
||||
position?: 'middle' | 'bottom';
|
||||
percent?: boolean;
|
||||
}
|
||||
import type { CircleProgressbarProps } from '../../typings';
|
||||
|
||||
// 33.5 is the r of the circle
|
||||
const progressCircle = keyframes({
|
||||
|
||||
@@ -3,11 +3,7 @@ import { Box, Text, createStyles } from '@mantine/core';
|
||||
import { useNuiEvent } from '../../hooks/useNuiEvent';
|
||||
import { fetchNui } from '../../utils/fetchNui';
|
||||
import ScaleFade from '../../transitions/ScaleFade';
|
||||
|
||||
export interface ProgressbarProps {
|
||||
label: string;
|
||||
duration: number;
|
||||
}
|
||||
import type { ProgressbarProps } from '../../typings';
|
||||
|
||||
const useStyles = createStyles((theme) => ({
|
||||
container: {
|
||||
|
||||
Reference in New Issue
Block a user