Skip to content

Commit a8b233f

Browse files
authored
Allow DropdownMenu toggles to be styled as links (#884)
* Allow DropdownMenu toggles to be styled as links * Format source
1 parent 8b44f45 commit a8b233f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/dropdownmenu/DropdownMenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const DropdownMenu = props => {
4040
} = props;
4141

4242
const [dropdownOpen, setDropdownOpen] = useState(false);
43-
const isBootstrapColor = bootstrapColors.has(color);
43+
const isBootstrapColor = bootstrapColors.has(color) || color === 'link';
4444
const toggle = () => {
4545
if (!disabled) {
4646
setDropdownOpen(!dropdownOpen);

0 commit comments

Comments
 (0)