/
SOFG1
/
generic
Обзор
Документация
Войти
/
SOFG1
/
generic
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/views/CallCenterViews/QuestionsView.tsx
34 строки
890 B
Eddy
initial commit
22 июл 2024, 17:06
22 июл 2024, 17:06
a72fa2b
Код
Авторство
О чём код?
import React from "react"; import styled from "styled-components"; import { InfoComponent } from "../../components/CallCenterComponents"; import { desktopBp } from "../../styles/variables"; import { QuestionView } from "./index"; import { withErrorBoundaryHOC } from "../../utils/withErrorBoundaryHOC"; const QuestionsStyled = styled.div` display: flex; align-content: center; align-items: stretch; align-self: stretch; justify-content: flex-start; margin-bottom: 2.08vw; gap: 2.08vw 26px; @media screen and (max-width: ${desktopBp}) { margin-bottom: 2.08vw; gap: 2.08vw 26px; } @media screen and (max-width: 1080px) { flex-direction: column; } `; const QuestionsView = React.memo(() => { return ( <QuestionsStyled> <QuestionView /> <InfoComponent /> </QuestionsStyled> ); }); export default withErrorBoundaryHOC(QuestionsView);