формат и пропорции у images вопросов

This commit is contained in:
Tamara 2024-06-22 00:43:00 +03:00
parent fc66d44e49
commit 7a64bb4372

@ -9,7 +9,7 @@ import ProportionsIcon11 from "../../../assets/icons/questionsPage/ProportionsIc
import ProportionsIcon12 from "../../../assets/icons/questionsPage/ProportionsIcon12"; import ProportionsIcon12 from "../../../assets/icons/questionsPage/ProportionsIcon12";
import ProportionsIcon21 from "../../../assets/icons/questionsPage/ProportionsIcon21"; import ProportionsIcon21 from "../../../assets/icons/questionsPage/ProportionsIcon21";
type Proportion = "1:1" | "2:1" | "1:2"; type Proportion = "1:1" | "1:2" | "2:1";
type ProportionItem = { type ProportionItem = {
value: Proportion; value: Proportion;
@ -18,8 +18,8 @@ type ProportionItem = {
const PROPORTIONS: ProportionItem[] = [ const PROPORTIONS: ProportionItem[] = [
{ value: "1:1", icon: ProportionsIcon11 }, { value: "1:1", icon: ProportionsIcon11 },
{ value: "2:1", icon: ProportionsIcon21 }, { value: "1:2", icon: ProportionsIcon21 },
{ value: "1:2", icon: ProportionsIcon12 }, { value: "2:1", icon: ProportionsIcon12 },
]; ];
type Format = "carousel" | "masonry"; type Format = "carousel" | "masonry";
@ -30,8 +30,8 @@ type FormatItem = {
}; };
const FORMATS: FormatItem[] = [ const FORMATS: FormatItem[] = [
{ value: "masonry", icon: FormatIcon2 }, { value: "carousel", icon: FormatIcon2 },
{ value: "carousel", icon: FormatIcon1 }, { value: "masonry", icon: FormatIcon1 },
]; ];
type SettingOpytionsPictProps = { type SettingOpytionsPictProps = {