File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
packages/react-core/src/next/components/Select Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,6 @@ export interface SelectProps extends MenuProps, OUIAProps {
22
22
onOpenChange ?: ( isOpen : boolean ) => void ;
23
23
/** Indicates if the select should be without the outer box-shadow */
24
24
isPlain ?: boolean ;
25
- /** Minimum width of the select menu */
26
- minWidth ?: string ;
27
25
/** @hide Forwarded ref */
28
26
innerRef ?: React . Ref < HTMLDivElement > ;
29
27
/** z-index of the select menu */
@@ -43,7 +41,6 @@ const SelectBase: React.FunctionComponent<SelectProps & OUIAProps> = ({
43
41
toggle,
44
42
onOpenChange,
45
43
isPlain,
46
- minWidth,
47
44
innerRef,
48
45
zIndex = 9999 ,
49
46
role = 'listbox' ,
@@ -103,11 +100,6 @@ const SelectBase: React.FunctionComponent<SelectProps & OUIAProps> = ({
103
100
onSelect = { ( event , itemId ) => onSelect && onSelect ( event , itemId ) }
104
101
isPlain = { isPlain }
105
102
selected = { selected }
106
- { ...( minWidth && {
107
- style : {
108
- '--pf-c-menu--MinWidth' : minWidth
109
- } as React . CSSProperties
110
- } ) }
111
103
{ ...getOUIAProps (
112
104
Select . displayName ,
113
105
props . ouiaId !== undefined ? props . ouiaId : getDefaultOUIAId ( Select . displayName ) ,
You can’t perform that action at this time.
0 commit comments