File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
compass-components/src/components
compass-connections-navigation/src Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,6 @@ import { InfoSprinkle } from '@leafygreen-ui/info-sprinkle';
32
32
import Modal , { Footer as ModalFooter } from '@leafygreen-ui/modal' ;
33
33
import MarketingModal from '@leafygreen-ui/marketing-modal' ;
34
34
import { Pipeline , Stage } from '@leafygreen-ui/pipeline' ;
35
- export type {
36
- InferredPolymorphicProps ,
37
- PolymorphicProps ,
38
- } from '@leafygreen-ui/polymorphic' ;
39
35
import Popover from '@leafygreen-ui/popover' ;
40
36
import { RadioBox , RadioBoxGroup } from '@leafygreen-ui/radio-box-group' ;
41
37
import { Radio , RadioGroup } from '@leafygreen-ui/radio-group' ;
Original file line number Diff line number Diff line change 6
6
SplitButton ,
7
7
type GlyphName ,
8
8
type ItemComponentProps ,
9
- type PolymorphicProps ,
10
9
type MenuItemProps ,
11
10
} from '@mongodb-js/compass-components' ;
12
11
import type { Actions } from './constants' ;
@@ -18,7 +17,7 @@ const menuItemStyles = css({
18
17
type ConnectMenuItemProps = {
19
18
action : Actions ;
20
19
glyph : GlyphName ;
21
- } & PolymorphicProps < 'button' , Omit < MenuItemProps , 'glyph' > > ;
20
+ } & Omit < MenuItemProps , 'glyph' > ;
22
21
23
22
function ConnectMenuItem ( { action, glyph, ...rest } : ConnectMenuItemProps ) {
24
23
return (
You can’t perform that action at this time.
0 commit comments