Skip to content

Commit

Permalink
Add missing defaults to extended component props
Browse files Browse the repository at this point in the history
  • Loading branch information
csandman committed Jul 4, 2024
1 parent 095b274 commit b75a3ea
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,34 +212,34 @@ declare module "react-select/base" {

declare module "react-select" {
export interface MultiValueProps<
Option,
IsMulti extends boolean,
Group extends GroupBase<Option>,
Option = unknown,
IsMulti extends boolean = boolean,
Group extends GroupBase<Option> = GroupBase<Option>,
> {
sx: SystemStyleObject;
}

export interface MultiValueGenericProps<
Option,
IsMulti extends boolean,
Group extends GroupBase<Option>,
Option = unknown,
IsMulti extends boolean = boolean,
Group extends GroupBase<Option> = GroupBase<Option>,
> {
sx: SystemStyleObject;
}

export interface MultiValueRemoveProps<
Option,
IsMulti extends boolean,
Group extends GroupBase<Option>,
Option = unknown,
IsMulti extends boolean = boolean,
Group extends GroupBase<Option> = GroupBase<Option>,
> {
isFocused: boolean;
sx: SystemStyleObject;
}

export interface LoadingIndicatorProps<
Option,
IsMulti extends boolean,
Group extends GroupBase<Option>,
Option = unknown,
IsMulti extends boolean = boolean,
Group extends GroupBase<Option> = GroupBase<Option>,
> {
/**
* The color of the filled in area of the spinner.
Expand Down

0 comments on commit b75a3ea

Please sign in to comment.