Skip to content

Commit 253c998

Browse files
authored
fix(NavDropdown): fix onSelect type (react-bootstrap#6151)
1 parent 06c504c commit 253c998

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/NavDropdown.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ import { DropdownMenuVariant } from './DropdownMenu';
88
import NavLink from './NavLink';
99
import { BsPrefixRefForwardingComponent } from './helpers';
1010

11-
export interface NavDropdownProps
12-
extends Omit<DropdownProps, 'onSelect' | 'title'> {
11+
export interface NavDropdownProps extends Omit<DropdownProps, 'title'> {
1312
title: React.ReactNode;
1413
disabled?: boolean;
1514
active?: boolean;

0 commit comments

Comments
 (0)