add styles for separator

This commit is contained in:
KDSBrowne 2017-04-04 09:49:01 -07:00
parent 00f77d1fd4
commit ee31b29c96

View File

@ -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)} />;
}
}