Skip to content

Commit

Permalink
taking out disabled prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Neem Serra committed Dec 2, 2019
1 parent 623b115 commit f0a1ef9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/dropdown/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,6 @@ export default class Dropdown extends PureComponent {
labelExtractor,
dropdownOffset,
renderAccessory = this.renderAccessory,
disabled,
} = this.props;

let index = this.selectedIndex();
Expand Down Expand Up @@ -516,7 +515,7 @@ export default class Dropdown extends PureComponent {
value={title}
editable={false}
onChangeText={undefined}
inputContainerStyle={disabled ? { borderBottomWidth: 0 } : {}}
inputContainerStyle={{}}
renderAccessory={renderAccessory}
/>
);
Expand Down

0 comments on commit f0a1ef9

Please sign in to comment.