add styles for separator
This commit is contained in:
parent
00f77d1fd4
commit
ee31b29c96
@ -1,8 +1,10 @@
|
||||
import React, { Component } from 'react';
|
||||
import React, { Component, PropTypes } from 'react';
|
||||
import styles from '../styles';
|
||||
import cx from 'classnames';
|
||||
|
||||
export default class DropdownListSeparator extends Component {
|
||||
render() {
|
||||
return <li className={styles.item} />;
|
||||
const { style, className } = this.props;
|
||||
return <li style={style} className={cx(styles.separator, className)} />;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user