Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
fix(Dropdown): Render a trigger if toggle is true
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthomp committed May 16, 2018
1 parent 9e1c7e4 commit a7a462c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Dropdown/Dropdown.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class Dropdown extends React.Component<Props, State> {

const trigger = (() => {
if (this.props.trigger) return this.props.trigger;
if (this.props.icon || this.props.triggerContent) {
if (this.props.icon || this.props.triggerContent || this.props.toggle) {
const {
icon,
triggerContent,
Expand Down

0 comments on commit a7a462c

Please sign in to comment.