File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
packages/components/src/FormSelect/components Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ export default function OptionComponent<
1111 OptionType extends Option < T > ,
1212 IsMulti extends boolean ,
1313> ( props : OptionProps < OptionType , IsMulti > ) : ReactElement {
14- const OptionComponent = components . Option as any ;
14+ const ReactSelectOption = components . Option as any ;
1515 return (
16- < OptionComponent { ...props } >
16+ < ReactSelectOption { ...props } >
1717 < CustomOption data = { props . data } labelPrefix = "select-option" />
18- </ OptionComponent >
18+ </ ReactSelectOption >
1919 ) ;
2020}
2121
@@ -24,13 +24,13 @@ export function OptionForGroup<
2424 OptionType extends OptionTypeBase < T > ,
2525 IsMulti extends boolean ,
2626> ( props : OptionProps < OptionType , IsMulti > ) : ReactElement {
27- const OptionForGroupComponent = components . Option as any ;
27+ const ReactSelectOptionForGroup = components . Option as any ;
2828 return (
29- < OptionForGroupComponent { ...props } className = { css . option } >
29+ < ReactSelectOptionForGroup { ...props } className = { css . option } >
3030 < FiCheck
3131 className = { cx ( css . check , { [ css . checkInvisible ] : ! props . isSelected } ) }
3232 />
3333 < CustomOption data = { props . data } labelPrefix = "select-option" />
34- </ OptionForGroupComponent >
34+ </ ReactSelectOptionForGroup >
3535 ) ;
3636}
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ export default function SingleValueComponent<
88 OptionType extends Option < T > ,
99 IsMulti extends boolean ,
1010> ( props : SingleValueProps < OptionType , IsMulti > ) : ReactNode {
11- const SingleValueComponent = components . SingleValue as any ;
11+ const ReactSelectSingleValue = components . SingleValue as any ;
1212 return (
13- < SingleValueComponent { ...props } >
13+ < ReactSelectSingleValue { ...props } >
1414 < CustomOption data = { props . data } labelPrefix = "single-value" />
15- </ SingleValueComponent >
15+ </ ReactSelectSingleValue >
1616 ) ;
1717}
You can’t perform that action at this time.
0 commit comments