import React from 'react' import {OrderSummary} from "./OrderSummary"; import {OrderForm} from "./OrderForm"; import {CrateList} from "./CrateList"; import {useShopStore} from "./shop_store"; import {ImportJSON} from "./ImportJSON"; import {RFQFeedback} from "./RFQFeedback"; /** * Component that renders all things for order. * It acts like-a layout, this component do nothing more. */ export function OrderPanel({title, description}) { const isMobile = useShopStore((state) => state.isMobile); const onClickToggleMobileSideMenu = useShopStore((state) => state.switchSideMenu); return (

{title}

{description}
{isMobile ? (
) : null}
); }