File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import type { Classes } from '@blueprintjs/core' ;
2
2
import type { IconNames } from '@blueprintjs/icons' ;
3
3
import classNames from 'classnames' ;
4
- import _ from 'lodash' ;
4
+ import kebabCase from 'lodash/kebabCase ' ;
5
5
import * as React from 'react' ;
6
6
import { MosaicContext } from '../contextTypes' ;
7
7
@@ -28,10 +28,10 @@ export namespace OptionalBlueprint {
28
28
} [ keyof typeof Classes ] ;
29
29
30
30
export function getClasses ( blueprintNamespace : string , ...names : BlueprintClass [ ] ) : string {
31
- return names . map ( ( name ) => `${ blueprintNamespace } -${ _ . kebabCase ( name ) } ` ) . join ( ' ' ) ;
31
+ return names . map ( ( name ) => `${ blueprintNamespace } -${ kebabCase ( name ) } ` ) . join ( ' ' ) ;
32
32
}
33
33
34
34
export function getIconClass ( blueprintNamespace : string , iconName : keyof typeof IconNames ) : string {
35
- return `${ blueprintNamespace } -icon-${ _ . kebabCase ( iconName ) } ` ;
35
+ return `${ blueprintNamespace } -icon-${ kebabCase ( iconName ) } ` ;
36
36
}
37
37
}
You can’t perform that action at this time.
0 commit comments