diff --git a/components/editor/shadow-control.tsx b/components/editor/shadow-control.tsx index bfcac8f1..68e3e6f0 100644 --- a/components/editor/shadow-control.tsx +++ b/components/editor/shadow-control.tsx @@ -1,7 +1,6 @@ import React from "react"; import { SliderWithInput } from "./slider-with-input"; import ColorPicker from "./color-picker"; -import ControlSection from "./control-section"; interface ShadowControlProps { shadowColor: string; @@ -23,77 +22,75 @@ const ShadowControl: React.FC = ({ onChange, }) => { return ( - -
-
- onChange("shadow-color", color)} - label="Shadow Color" - /> -
- -
- onChange("shadow-opacity", value)} - min={0} - max={1} - step={0.01} - unit="" - label="Shadow Opacity" - /> -
- -
- onChange("shadow-blur", value)} - min={0} - max={50} - step={0.5} - unit="px" - label="Blur Radius" - /> -
- -
- onChange("shadow-spread", value)} - min={-50} - max={50} - step={0.5} - unit="px" - label="Spread" - /> -
- -
- onChange("shadow-offset-x", value)} - min={-50} - max={50} - step={0.5} - unit="px" - label="Offset X" - /> -
- -
- onChange("shadow-offset-y", value)} - min={-50} - max={50} - step={0.5} - unit="px" - label="Offset Y" - /> -
+
+
+ onChange("shadow-color", color)} + label="Shadow Color" + />
- + +
+ onChange("shadow-opacity", value)} + min={0} + max={1} + step={0.01} + unit="" + label="Shadow Opacity" + /> +
+ +
+ onChange("shadow-blur", value)} + min={0} + max={50} + step={0.5} + unit="px" + label="Blur Radius" + /> +
+ +
+ onChange("shadow-spread", value)} + min={-50} + max={50} + step={0.5} + unit="px" + label="Spread" + /> +
+ +
+ onChange("shadow-offset-x", value)} + min={-50} + max={50} + step={0.5} + unit="px" + label="Offset X" + /> +
+ +
+ onChange("shadow-offset-y", value)} + min={-50} + max={50} + step={0.5} + unit="px" + label="Offset Y" + /> +
+
); };