Removing icons from Dropdown (#469)
This commit is contained in:
@@ -3,7 +3,6 @@ import Select from 'react-select';
|
||||
import { noop } from 'lodash';
|
||||
|
||||
import dropdownOptionInterface from '../../../../interfaces/dropdownOption';
|
||||
import Option from './Option';
|
||||
|
||||
class Dropdown extends Component {
|
||||
static propTypes = {
|
||||
@@ -29,7 +28,6 @@ class Dropdown extends Component {
|
||||
className={className}
|
||||
name="targets"
|
||||
options={options}
|
||||
optionRenderer={Option}
|
||||
onChange={onSelect}
|
||||
placeholder={placeholder}
|
||||
value={value}
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
import React from 'react';
|
||||
|
||||
const DropdownOption = (option) => {
|
||||
return (
|
||||
<span>
|
||||
<i className="kolidecon-add-button Select-icon" /> {option.label}
|
||||
</span>
|
||||
);
|
||||
};
|
||||
|
||||
export default DropdownOption;
|
||||
Reference in New Issue
Block a user