Skip to content
This repository has been archived by the owner on Feb 27, 2020. It is now read-only.

Commit

Permalink
fix(listbox): fix react warning (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
flannanl authored and loganmccaul committed Aug 15, 2019
1 parent 20d9332 commit d2ae99e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/ListBox/ListBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const ListBox = ({
invalid,
invalidText,
light,
isOpen,
...rest
}) => {
const className = cx({
Expand All @@ -39,6 +40,7 @@ const ListBox = ({
'bx--list-box--inline': type === 'inline',
'bx--list-box--disabled': disabled,
'bx--list-box--light': light,
'bx--list-box--expanded': isOpen,
});
return (
<React.Fragment>
Expand Down

0 comments on commit d2ae99e

Please sign in to comment.