Skip to content

Commit

Permalink
add className
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankFang committed Mar 27, 2019
1 parent 64bf199 commit 3b6866b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/vmenu/vmenu.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import {createScopedClasses} from 'utils/classes';
import classes, {createScopedClasses} from 'utils/classes';
import MenuItem from './menuItem';
import MenuDir from './menuDir';
import './vmenu.scss';
Expand Down Expand Up @@ -133,7 +133,7 @@ class Vmenu extends React.Component<IProps, IState> {
render() {

return (
<div className={sc()} style={this.props.style}>
<div className={classes(sc(), this.props.className)} style={this.props.style}>
<MenuContext.Provider value={{
selected: this.selected,
setSelected: this.onSelect,
Expand Down

0 comments on commit 3b6866b

Please sign in to comment.