-
+
{
d3Extended.selectById(id).style("stroke", e.target.value);
});
}}
+ className="p-0 px-[.125rem]"
/>
+
+
{
d3Extended.selectById(id).style("color", e.target.value);
});
}}
+ className="p-0 px-[.125rem]"
/>
diff --git a/src/components/controls/select/polyline/section-selector.tsx b/src/components/controls/select/polyline/section-selector.tsx
index e6c1337..bfb4390 100644
--- a/src/components/controls/select/polyline/section-selector.tsx
+++ b/src/components/controls/select/polyline/section-selector.tsx
@@ -1,4 +1,4 @@
-import { DollarSign, Plus, X } from "lucide-react";
+import { DollarSign, Plus, Settings2, X } from "lucide-react";
import { useSelector } from "react-redux";
import { default as debounce } from "lodash/debounce";
import { twMerge } from "tailwind-merge";
@@ -7,7 +7,7 @@ import { dataAttributes } from "@/constants";
import { store } from "@/store";
import { addSection, deleteSection, updatePolylines, updateSection } from "@/store/reducers/editor";
import { ISTKProps } from "@/types";
-import { Callout, Caption, Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "../../../core";
+import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "../../../core";
const onAddSection = () => store.dispatch(addSection(undefined));
@@ -20,8 +20,8 @@ type IControlProps = Pick
;
export const SectionManager = ({ options }: IControlProps) => {
const sections = useSelector((state: any) => state.editor.sections);
return (
-
-
+
+
Sections
state.editor.sections);
return (
<>
-
-
Sections
-
-
-
- Manage
-
-
-
-
-
-
+
+
+
Sections
+
+
+ }
+ />
+
+
+
+
+
+