Skip to content

Commit 9898f4c

Browse files
committed
Merge pull request react-bootstrap#1295 from tannewt/patch-1
Set the disabled css class so that the text is greyed out.
2 parents 59c89b9 + 1c2d054 commit 9898f4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Dropdown.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ class Dropdown extends React.Component {
8989

9090
const rootClasses = {
9191
open: this.props.open,
92+
disabled: this.props.disabled,
9293
dropdown: !this.props.dropup,
9394
dropup: this.props.dropup
9495
};

0 commit comments

Comments
 (0)