mirror of
https://github.com/wassname/talk.git
synced 2026-10-04 13:10:23 +08:00
camelCase lodash
This commit is contained in:
1 parent
f461d27810
commit
4727c52de4
1 file changed
+1
-1
@@ -3,7 +3,7 @@ import cn from 'classnames';
|
||||
import {MenuItem} from 'react-mdl';
|
||||
import PropTypes from 'prop-types';
|
||||
import styles from './ActionsMenu.css';
|
||||
import camelCase from 'lodash.camelcase';
|
||||
import camelCase from 'lodash/camelCase';
|
||||
|
||||
const ActionsMenuItem = (props) =>
|
||||
<MenuItem className={cn(styles.menuItem, props.className, 'action-menu-item')} {...props} id={camelCase(props.children)}/>;
|
||||
|
||||
Reference in new issue
Block a user