File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ permissions:
99
1010jobs :
1111 verify :
12- if : github.event.pull_request.user.login != 'renovate[bot]'
12+ if : github.event.pull_request.user.login != 'renovate[bot]' && github.event.pull_request.user.login != 'Copilot'
1313 permissions :
1414 pull-requests : write # for actions-cool/verify-files-modify to update status of PRs
1515 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import RcDropdown from 'rc-dropdown';
77import useEvent from 'rc-util/lib/hooks/useEvent' ;
88import useMergedState from 'rc-util/lib/hooks/useMergedState' ;
99import omit from 'rc-util/lib/omit' ;
10+ import type { MenuProps as RcMenuProps } from 'rc-menu' ;
1011
1112import { useZIndex } from '../_util/hooks/useZIndex' ;
1213import isPrimitive from '../_util/isPrimitive' ;
@@ -45,7 +46,7 @@ export type DropdownArrowOptions = {
4546} ;
4647
4748export interface DropdownProps {
48- menu ?: MenuProps ;
49+ menu ?: MenuProps & { activeKey ?: RcMenuProps [ 'activeKey' ] } ;
4950 autoFocus ?: boolean ;
5051 arrow ?: boolean | DropdownArrowOptions ;
5152 trigger ?: ( 'click' | 'hover' | 'contextMenu' ) [ ] ;
You can’t perform that action at this time.
0 commit comments