feat: move dropdown mui to ui directory

This commit is contained in:
amhsirak
2025-01-09 19:48:39 +05:30
parent 6c59dc5833
commit 31a5e44de1
8 changed files with 7 additions and 7 deletions

View File

@@ -3,7 +3,7 @@ import { GenericModal } from "../atoms/GenericModal";
import { modalStyle } from "./AddWhereCondModal";
import { Button, MenuItem, TextField, Typography } from "@mui/material";
import React, { useRef } from "react";
import { Dropdown as MuiDropdown } from "../atoms/DropdownMui";
import { Dropdown as MuiDropdown } from "../ui/DropdownMui";
import { KeyValueForm } from "./KeyValueForm";
import { ClearButton } from "../ui/buttons/ClearButton";
import { useSocketStore } from "../../context/socket";

View File

@@ -1,4 +1,4 @@
import { Dropdown as MuiDropdown } from "../atoms/DropdownMui";
import { Dropdown as MuiDropdown } from "../ui/DropdownMui";
import {
Button,
MenuItem,

View File

@@ -1,5 +1,5 @@
import React from "react";
import { Dropdown as MuiDropdown } from "../atoms/DropdownMui";
import { Dropdown as MuiDropdown } from "../ui/DropdownMui";
import { Checkbox, FormControlLabel, FormGroup, MenuItem, Stack, TextField } from "@mui/material";
import { AddButton } from "../ui/buttons/AddButton";
import { RemoveButton } from "../ui/buttons/RemoveButton";

View File

@@ -1,6 +1,6 @@
import React from "react";
import { Button, MenuItem, TextField, Typography } from "@mui/material";
import { Dropdown } from "../atoms/DropdownMui";
import { Dropdown } from "../ui/DropdownMui";
import { RunSettings } from "./RunSettings";
import { useSocketStore } from "../../context/socket";

View File

@@ -1,7 +1,7 @@
import React, { useState } from 'react';
import { GenericModal } from "../atoms/GenericModal";
import { MenuItem, TextField, Typography, Switch, FormControlLabel } from "@mui/material";
import { Dropdown } from "../atoms/DropdownMui";
import { Dropdown } from "../ui/DropdownMui";
import Button from "@mui/material/Button";
import { modalStyle } from "./AddWhereCondModal";

View File

@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
import { useTranslation } from 'react-i18next';
import { GenericModal } from "../atoms/GenericModal";
import { MenuItem, TextField, Typography, Box } from "@mui/material";
import { Dropdown } from "../atoms/DropdownMui";
import { Dropdown } from "../ui/DropdownMui";
import Button from "@mui/material/Button";
import { validMomentTimezones } from '../../constants/const';
import { useGlobalInfoStore } from '../../context/globalInfo';

View File

@@ -3,7 +3,7 @@ import { InputLabel, MenuItem, TextField, Select, FormControl } from "@mui/mater
import { ScreenshotSettings as Settings } from "../../../shared/types";
import styled from "styled-components";
import { SelectChangeEvent } from "@mui/material/Select/Select";
import { Dropdown } from "../../atoms/DropdownMui";
import { Dropdown } from "../../ui/DropdownMui";
export const ScreenshotSettings = forwardRef((props, ref) => {
const [settings, setSettings] = React.useState<Settings>({});