mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-23 19:38:36 +00:00
refactor(web/menu): radial menu visibility handling
This commit is contained in:
1 parent
ea74e5705f
commit
26a1ecb93d
3 files changed
+77
-68
No files matched your search
@@ -9,6 +9,7 @@ import { debugCircleProgressbar, debugProgressbar } from './debug/progress';
|
||||
import { debugTextUI } from './debug/textui';
|
||||
import { debugSkillCheck } from './debug/skillcheck';
|
||||
import { useState } from 'react';
|
||||
import { debugRadial } from './debug/radial';
|
||||
|
||||
const Dev: React.FC = () => {
|
||||
const [opened, setOpened] = useState(false);
|
||||
@@ -46,6 +47,9 @@ const Dev: React.FC = () => {
|
||||
<Button fullWidth onClick={() => debugMenu()}>
|
||||
Open list menu
|
||||
</Button>
|
||||
<Button fullWidth onClick={() => debugRadial()}>
|
||||
Open radial menu
|
||||
</Button>
|
||||
<Divider />
|
||||
<Button fullWidth onClick={() => debugCustomNotification()}>
|
||||
Send notification
|
||||
|
||||
Reference in new issue
Block a user