Skip to content

Commit 4640df0

Browse files
committed
refactor: types
1 parent 9a1bf3a commit 4640df0

File tree

1 file changed

+5
-5
lines changed
  • src/Shared/Components/SelectPicker

1 file changed

+5
-5
lines changed

src/Shared/Components/SelectPicker/type.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,6 @@ type SelectProps<OptionValue, IsMulti extends boolean> = ReactSelectProps<
5252
GroupBase<SelectPickerOptionType<OptionValue>>
5353
>
5454

55-
export enum SelectPickerVariantType {
56-
DEFAULT = 'default',
57-
BORDER_LESS = 'border-less',
58-
}
59-
6055
declare module 'react-select/base' {
6156
// eslint-disable-next-line @typescript-eslint/no-unused-vars
6257
export interface Props<Option, IsMulti extends boolean, Group extends GroupBase<Option>> {
@@ -92,6 +87,11 @@ declare module 'react-select/base' {
9287
}
9388
}
9489

90+
export enum SelectPickerVariantType {
91+
DEFAULT = 'default',
92+
BORDER_LESS = 'border-less',
93+
}
94+
9595
export type SelectPickerProps<OptionValue = number | string, IsMulti extends boolean = false> = Pick<
9696
SelectProps<OptionValue, IsMulti>,
9797
| 'name'

0 commit comments

Comments
 (0)