116 |
117 | Stroke width
118 | {
120 | dispatch(
121 | updateElement({
122 | id: element.id,
123 | props: {
124 | strokeWidth: Array.isArray(strokeWidth)
125 | ? strokeWidth[0]
126 | : strokeWidth,
127 | },
128 | })
129 | )
130 | }}
131 | value={element.strokeWidth || 0}
132 | max={10}
133 | min={0}
134 | />
135 |
136 |
137 |
138 | Dash
139 | {dashes.map((dash, index) => (
140 |
143 | dispatch(
144 | updateElement({
145 | id: element.id,
146 | props: {
147 | dash,
148 | },
149 | })
150 | )
151 | }
152 | >
153 |
154 |
155 | ))}
156 |
157 |
158 |