Spaces:
Sleeping
Sleeping
fix frontend ui
Browse files
src/app/providers.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
'use client';
|
| 2 |
|
| 3 |
-
import { HeroUIProvider } from '@heroui/
|
| 4 |
|
| 5 |
import { ControlProvider } from '@/contexts/control-context';
|
| 6 |
|
|
|
|
| 1 |
'use client';
|
| 2 |
|
| 3 |
+
import { HeroUIProvider } from '@heroui/system';
|
| 4 |
|
| 5 |
import { ControlProvider } from '@/contexts/control-context';
|
| 6 |
|
src/components/state-modal.tsx
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
'use client';
|
| 2 |
|
| 3 |
-
import { Button
|
|
|
|
|
|
|
| 4 |
import { forwardRef, useImperativeHandle, useState } from 'react';
|
| 5 |
|
| 6 |
export type StateModalRef = {
|
|
|
|
| 1 |
'use client';
|
| 2 |
|
| 3 |
+
import { Button } from '@heroui/button';
|
| 4 |
+
import { Modal, ModalBody, ModalContent, ModalFooter, ModalHeader } from '@heroui/modal';
|
| 5 |
+
import { useDisclosure } from '@heroui/use-disclosure';
|
| 6 |
import { forwardRef, useImperativeHandle, useState } from 'react';
|
| 7 |
|
| 8 |
export type StateModalRef = {
|
src/components/ui-controls.tsx
CHANGED
|
@@ -1,6 +1,9 @@
|
|
| 1 |
'use client';
|
| 2 |
|
| 3 |
-
import { Button, ButtonGroup
|
|
|
|
|
|
|
|
|
|
| 4 |
import { useRef, useState } from 'react';
|
| 5 |
|
| 6 |
import { useControlContext } from '@/contexts/control-context';
|
|
|
|
| 1 |
'use client';
|
| 2 |
|
| 3 |
+
import { Button, ButtonGroup } from '@heroui/button';
|
| 4 |
+
import { Card, CardBody } from '@heroui/card';
|
| 5 |
+
import { Checkbox } from '@heroui/checkbox';
|
| 6 |
+
import { Slider } from '@heroui/slider';
|
| 7 |
import { useRef, useState } from 'react';
|
| 8 |
|
| 9 |
import { useControlContext } from '@/contexts/control-context';
|