File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import { getSeparatedContent, isValidCount } from '../utils/valueUtil';
3030import SelectContext from '../SelectContext' ;
3131import type { SelectContextProps } from '../SelectContext' ;
3232import Polite from './Polite' ;
33- import { SemanticName } from '../Select ';
33+ type BaseSelectSemanticName = 'prefix' | 'suffix' | 'input ';
3434
3535export type {
3636 DisplayInfoType ,
@@ -132,8 +132,8 @@ export type BaseSelectPropsWithoutPrivate = Omit<BaseSelectProps, keyof BaseSele
132132export interface BaseSelectProps extends BaseSelectPrivateProps , React . AriaAttributes {
133133 className ?: string ;
134134 style ?: React . CSSProperties ;
135- classNames ?: Partial < Record < SemanticName , string > > ;
136- styles ?: Partial < Record < SemanticName , React . CSSProperties > > ;
135+ classNames ?: Partial < Record < BaseSelectSemanticName , string > > ;
136+ styles ?: Partial < Record < BaseSelectSemanticName , React . CSSProperties > > ;
137137 title ?: string ;
138138 showSearch ?: boolean ;
139139 tagRender ?: ( props : CustomTagProps ) => React . ReactElement ;
You can’t perform that action at this time.
0 commit comments