We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
positonStyle
1 parent 89eec07 commit 3a79f72Copy full SHA for 3a79f72
components/vc-slider/src/common/Track.tsx
@@ -7,7 +7,7 @@ const Track = (_, { attrs }) => {
7
length = Math.abs(length);
8
offset = 100 - offset;
9
}
10
- const positonStyle = vertical
+ const positionStyle = vertical
11
? {
12
[reverse ? 'top' : 'bottom']: `${offset}%`,
13
[reverse ? 'bottom' : 'top']: 'auto',
@@ -21,7 +21,7 @@ const Track = (_, { attrs }) => {
21
22
const elStyle = {
23
...style,
24
- ...positonStyle,
+ ...positionStyle,
25
};
26
return included ? <div class={className} style={elStyle} /> : null;
27
0 commit comments