Skip to content

Commit

Permalink
fix: change return type of 'Select'
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Seidel committed Jul 11, 2024
1 parent 16c6ac4 commit 6820461
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Select/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import React, {
ForwardedRef,
forwardRef,
ReactElement,
ReactNode,
RefAttributes,
useCallback,
} from 'react';
Expand Down Expand Up @@ -86,7 +85,7 @@ export const Select = forwardRef<
TOption extends BaseOptionType | DefaultOptionType = DefaultOptionType,
>(
props: SelectProps<TValue, TOption> & RefAttributes<BaseSelectRef>,
) => ReactNode) & {
) => ReactElement) & {
Option: typeof AntdSelect.Option;
OptGroup: typeof AntdSelect.OptGroup;
};
Expand Down

0 comments on commit 6820461

Please sign in to comment.