reorganize files
This commit is contained in:
parent
679a7b6034
commit
b486b2baa4
@ -8,7 +8,7 @@ import {
|
||||
} from "@mui/material";
|
||||
import { useCurrentQuiz } from "@root/quizes/hooks";
|
||||
import { useState } from "react";
|
||||
import InBodyInstall from "../InBodyInstall";
|
||||
import ContainerWidgetSetup from "./WidgetSetupByType/ContainerWidgetSetup";
|
||||
import InstallationStepButton from "./InstallationStepButton";
|
||||
import WidgetTypeButton from "./WidgetTypeButton";
|
||||
import BannerWidgetPreview from "./previewIcons/BannerWidgetPreview";
|
||||
@ -183,7 +183,7 @@ export default function QuizInstallationCard() {
|
||||
) : (
|
||||
<>
|
||||
{widgetSetupSettings.widgetType === "container" && (
|
||||
<InBodyInstall
|
||||
<ContainerWidgetSetup
|
||||
step={widgetSetupSettings.step}
|
||||
nextButton={nextButton}
|
||||
/>
|
||||
|
||||
@ -13,16 +13,16 @@ import CustomCheckbox from "@ui_kit/CustomCheckbox";
|
||||
import PenaTextField from "@ui_kit/PenaTextField";
|
||||
import { nanoid } from "nanoid";
|
||||
import { ReactNode, useState } from "react";
|
||||
import Dots from "../../assets/dots.png";
|
||||
import WidgetScript from "./QuizInstallationCard/WidgetScript";
|
||||
import { createContainerWidgetScriptText } from "./QuizInstallationCard/createWidgetScriptText";
|
||||
import Dots from "../../../../assets/dots.png";
|
||||
import WidgetScript from "../WidgetScript";
|
||||
import { createContainerWidgetScriptText } from "../createWidgetScriptText";
|
||||
|
||||
interface Props {
|
||||
step: 2 | 3;
|
||||
nextButton: ReactNode;
|
||||
}
|
||||
|
||||
export default function InBodyInstall({ step, nextButton }: Props) {
|
||||
export default function ContainerWidgetSetup({ step, nextButton }: Props) {
|
||||
const theme = useTheme();
|
||||
const isSmallMonitor = useMediaQuery(theme.breakpoints.down(1065));
|
||||
const quiz = useCurrentQuiz();
|
||||
Loading…
Reference in New Issue
Block a user