Skip to content

Commit 5a9c71e

Browse files
committed
refactor(scrollable): convert the naming to BEM standard
1 parent 19675d8 commit 5a9c71e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/scrollable/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interface IScrollbar extends ScrollbarProps {
88
autoHideThumb?: boolean;
99
}
1010

11-
const defaultSrollableClassName = 'scrollable';
11+
const defaultSrollableClassName = prefixClaName('scrollable');
1212

1313
/**
1414
* The react-scrollbars-custom component default not supports auto hide thumb option,
@@ -23,7 +23,7 @@ export function Scrollable(props: IScrollbar) {
2323
const isShow = isScrolling || isMouseOver;
2424

2525
const claNames = classNames(
26-
prefixClaName(defaultSrollableClassName),
26+
defaultSrollableClassName,
2727
className
2828
);
2929

0 commit comments

Comments
 (0)