Skip to content

Commit 3a79f72

Browse files
authored
fix(doc): positonStyle typo (#7808)
1 parent 89eec07 commit 3a79f72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/vc-slider/src/common/Track.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const Track = (_, { attrs }) => {
77
length = Math.abs(length);
88
offset = 100 - offset;
99
}
10-
const positonStyle = vertical
10+
const positionStyle = vertical
1111
? {
1212
[reverse ? 'top' : 'bottom']: `${offset}%`,
1313
[reverse ? 'bottom' : 'top']: 'auto',
@@ -21,7 +21,7 @@ const Track = (_, { attrs }) => {
2121

2222
const elStyle = {
2323
...style,
24-
...positonStyle,
24+
...positionStyle,
2525
};
2626
return included ? <div class={className} style={elStyle} /> : null;
2727
};

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy